{"id":13685337,"url":"https://github.com/jasonmorrissey/JMTabView","last_synced_at":"2025-05-01T04:30:38.969Z","repository":{"id":56916289,"uuid":"1884580","full_name":"jasonmorrissey/JMTabView","owner":"jasonmorrissey","description":"Stylish and animated tab view for iOS rendered entirely using core graphics.","archived":false,"fork":false,"pushed_at":"2013-04-15T15:16:59.000Z","size":202,"stargazers_count":799,"open_issues_count":10,"forks_count":122,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-04-02T22:36:13.293Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jasonmorrissey.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":"2011-06-12T13:21:16.000Z","updated_at":"2025-02-27T15:53:40.000Z","dependencies_parsed_at":"2022-08-21T03:50:48.377Z","dependency_job_id":null,"html_url":"https://github.com/jasonmorrissey/JMTabView","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonmorrissey%2FJMTabView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonmorrissey%2FJMTabView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonmorrissey%2FJMTabView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonmorrissey%2FJMTabView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jasonmorrissey","download_url":"https://codeload.github.com/jasonmorrissey/JMTabView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251824060,"owners_count":21649797,"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":[],"created_at":"2024-08-02T14:00:49.059Z","updated_at":"2025-05-01T04:30:38.714Z","avatar_url":"https://github.com/jasonmorrissey.png","language":"Objective-C","funding_links":[],"categories":["Objective-C","etc"],"sub_categories":[],"readme":"## JMTabView\n\nThis is a dark-themed and easy to use tab view created entirely using Core Graphics, so that it is easy to drop-in to your projects and operates smoothly on iOS devices.  The library itself will also be used in Alien Blue's upcoming iOS updates.\n\n## How it looks\n\nHere's what JMTabView looks like:\n\n\u003cimg src=\"http://alienblue.org/github/JMTabView.png\" width=477 height=54 /\u003e\n\nAnd on a retina display:\n\n\u003cimg src=\"http://alienblue.org/github/JMTabView-retina.png\" width=638 height=120 /\u003e\n\n## Usage\n\nA demo project is included in this repository so that you can dive right in.  In brief, to draw the tab view, you can do the following:\n\n`JMTabView * tabView = [[[JMTabView alloc] initWithFrame:frame] autorelease];`\n\n`[tabView setDelegate:self];`\n\nYou can then add tab items:\n\n`[tabView addTabItemWithTitle:@\"One\" icon:[UIImage imageNamed:@\"icon1.png\"]];`\n\nBy implementing the `tabView:didSelectTabAtIndex:` method, you will receive a callback when the tab selection changes.\n\n## Flexibility\n\nYou can set the `icon:` to `nil` if you prefer to use text only, or `title:` to `nil` to show icons only.\n\nIf you prefer to use JMTabView as a **toolbar** you can use the `setMomentary:` method to change its selection behaviour.\n\nJMTabView also supports the execution of blocks so that you can embed your logic per tab item, like this:\n\n`[tabView addTabItemWithTitle:@\"Tab\" icon:nil executeBlock:^{\n    // do stuff after item has been selected\n}];`\n\n## Customisation\n\nYou can subclass `JMTabItem` and `JMSelectionView` to completely customize the view of the tabs.  For example, in the inclusive Demo you can see how I've customized the view to render tabs like this:\n\n\u003cimg src=\"http://alienblue.org/github/JMTabView-custom.png\" width=639 height=153 /\u003e\n\n## Installation\n\nIf you prefer to use JMTabView as a dynamic library in your project, please be sure to add `-ObjC -all_load` to your target's `Other Linker Flags`.  Alternatively, you can reference the .h and .m files directly.\n\n## Acknowledgements\n\nThis project uses the UIView+Positioning and UIView+Size categories developed by the very talented [Kevin O'Neill](https://github.com/kevinoneill/Useful-Bits).\n\n## License\n\nJMTabView is BSD licensed, so you can freely use it in commercial applications.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonmorrissey%2FJMTabView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasonmorrissey%2FJMTabView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonmorrissey%2FJMTabView/lists"}