{"id":15286878,"url":"https://github.com/layneios/lnprotocolview","last_synced_at":"2025-04-13T03:57:26.121Z","repository":{"id":56918876,"uuid":"95406317","full_name":"layneios/LNProtocolView","owner":"layneios","description":"A light weight agree or not protocol view.","archived":false,"fork":false,"pushed_at":"2017-07-19T06:24:32.000Z","size":136,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T03:57:18.822Z","etag":null,"topics":["objective-c","protocol","protocolview"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/layneios.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-26T03:46:54.000Z","updated_at":"2021-01-09T05:47:53.000Z","dependencies_parsed_at":"2022-08-20T21:50:31.577Z","dependency_job_id":null,"html_url":"https://github.com/layneios/LNProtocolView","commit_stats":null,"previous_names":["lengmolehongyan/lnprotocolview"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/layneios%2FLNProtocolView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/layneios%2FLNProtocolView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/layneios%2FLNProtocolView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/layneios%2FLNProtocolView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/layneios","download_url":"https://codeload.github.com/layneios/LNProtocolView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248661706,"owners_count":21141450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["objective-c","protocol","protocolview"],"created_at":"2024-09-30T15:18:49.878Z","updated_at":"2025-04-13T03:57:26.073Z","avatar_url":"https://github.com/layneios.png","language":"Objective-C","readme":"# LNProtocolView\n\n[![Version](https://img.shields.io/cocoapods/v/LNProtocolView.svg?style=flat)](http://cocoapods.org/pods/LNProtocolView)\n[![License](https://img.shields.io/cocoapods/l/LNProtocolView.svg?style=flat)](http://cocoapods.org/pods/LNProtocolView)\n[![Platform](https://img.shields.io/cocoapods/p/LNProtocolView.svg?style=flat)](http://cocoapods.org/pods/LNProtocolView)\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n```objc\nLNProtocolView *protocolView = [[LNProtocolView alloc] initWithFrame:CGRectZero];\nprotocolView.backgroundColor = [UIColor groupTableViewBackgroundColor];\n[protocolView setPrefixStr:@\"这里是前缀\"\n                 suffixStr:@\"这里是后缀哈哈哈\"\n             protocolArray:@[@{ProtocolViewNameKey:@\"《这里是协议》\",\n                               ProtocolViewLinkKey:@\"https://www.baidu.com\"}]\n                 textColor:[UIColor darkTextColor]\n         protocolTextColor:[UIColor blueColor]\n                  textFont:[UIFont systemFontOfSize:15]];\n[self.view addSubview:protocolView];\nprotocolView.frame = CGRectMake(10, 100, 260, 10);\nprotocolView.jumpBlock = ^(NSString *urlStr) {\n    NSLog(@\"%@\", urlStr);\n};\n```\n\n![Demo](https://github.com/lengmolehongyan/LNProtocolView/blob/master/SimulatorScreenShot1.png)\n\n## Requirements\n\n## Installation\n\nLNProtocolView is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"LNProtocolView\"\n```\n\n## Author\n\nlengmolehongyan, lengmohongyan@hotmail.com\n\n## License\n\nLNProtocolView is available under the MIT license. See the LICENSE file for more info.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flayneios%2Flnprotocolview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flayneios%2Flnprotocolview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flayneios%2Flnprotocolview/lists"}