{"id":22006743,"url":"https://github.com/pulimento/taglistview-objc","last_synced_at":"2025-05-05T22:41:03.321Z","repository":{"id":36344278,"uuid":"40649010","full_name":"pulimento/TagListView-ObjC","owner":"pulimento","description":"Simple but highly customizable iOS tag list view, in Objective-C.","archived":false,"fork":false,"pushed_at":"2020-08-25T07:58:14.000Z","size":154,"stargazers_count":54,"open_issues_count":6,"forks_count":22,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-21T16:02:09.242Z","etag":null,"topics":["cocoapods","customview","interface-builder","objc","storyboard"],"latest_commit_sha":null,"homepage":null,"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/pulimento.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":"2015-08-13T08:58:51.000Z","updated_at":"2025-03-09T05:46:03.000Z","dependencies_parsed_at":"2022-08-20T22:50:19.728Z","dependency_job_id":null,"html_url":"https://github.com/pulimento/TagListView-ObjC","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pulimento%2FTagListView-ObjC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pulimento%2FTagListView-ObjC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pulimento%2FTagListView-ObjC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pulimento%2FTagListView-ObjC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pulimento","download_url":"https://codeload.github.com/pulimento/TagListView-ObjC/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252589578,"owners_count":21772889,"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":["cocoapods","customview","interface-builder","objc","storyboard"],"created_at":"2024-11-30T01:14:27.056Z","updated_at":"2025-05-05T22:41:03.299Z","avatar_url":"https://github.com/pulimento.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TagListView-ObjC\n\n[![Version](https://img.shields.io/cocoapods/v/TagListView-ObjC.svg?style=flat)](http://cocoapods.org/pods/TagListView-ObjC)\n[![License](https://img.shields.io/cocoapods/l/TagListView-ObjC.svg?style=flat)](http://cocoapods.org/pods/TagListView-ObjC)\n\nSimple but highly customizable iOS tag list view, in Objective-C. The APIs are *not* stable before 1.0. Use it if you don't want to use the Swift version.\n\nSupports Storyboard, Auto Layout, and @IBDesignable.\n\n\u003cimg alt=\"Screenshot\" src=\"Screenshots/Screenshot.png\" width=\"310\"\u003e\n\nThis project is a port to ObjC from XHacker's [TagListView](https://github.com/xhacker/TagListView) library, I tried to remain as compatible as possible. This README itself (and the images/screenshots) are from XHacker's too.\n\nMy motivation to do this: At work, I had an ObjC-written project, and want to use that library. I didn't like at all that my app increases 3MB on size (because Swift libs) for only a few code files. Using this version, the increase in size is very tiny (\u003c5kb).\n\n## Usage\n\nThe most convinient way is to use Storyboard, where you can set the attributes right in the Interface Builder. With [@IBDesignable](http://nshipster.com/ibinspectable-ibdesignable/), you can see the preview in real time.\n\n\u003cimg alt=\"Interface Builder\" src=\"Screenshots/Interface Builder.png\" width=\"566\"\u003e\n\nYou can add tag to the tag list view, or set custom font through code:\n\n```Objective-C\ntagListView.textFont = [UIFont systemFontOfSize:24];\n\n[tagListView addTag:@\"meow\"];\n\n[tagListView removeTag:@\"meow\"]; // all tags with title “meow” will be removed\n[tagListView removeAllTags];\n```\n\u003c!-- TODO delegate --\u003e\n\nYou can also customize a particular tag:\n\n```Objective-C\nTagView *tagView = [tagListView addTag:@\"blue\"];\ntagView.tagBackgroundColor = [UIColor blueColor];\n```\n\nBe aware that if you update a property (e.g. `tagBackgroundColor`) for a `TagListView`, all the inner `TagView`s will be updated.\n\n## Installation\n\nTurns out that installation via CocoaPods may be buggy. If you can't make it work from Interface Builder, please check this [Stack Overflow answer](http://stackoverflow.com/questions/26567650/live-rendering-a-custom-component-using-ib-designable-from-a-pod-dependency/28108248#28108248). Using it without CocoaPods seems to work perfectly, though.\n\nTagListView-ObjC is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"TagListView-ObjC\"\n```\n\nInstead, if you don't want to use CocoaPods, you can simply checkout the sample project. Library files are in the **\"TagListView/\"** folder, simply drag it into your project.\n\n## Contribution\n\nPull requests are welcome! If you want to do something big, please open an issue to let me know first.\n\n## License\n\nTagListView-ObjC is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpulimento%2Ftaglistview-objc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpulimento%2Ftaglistview-objc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpulimento%2Ftaglistview-objc/lists"}