{"id":2794,"url":"https://github.com/ezescaruli/ESTabBarController","last_synced_at":"2025-08-03T12:31:11.140Z","repository":{"id":31446212,"uuid":"35009970","full_name":"ezescaruli/ESTabBarController","owner":"ezescaruli","description":"A custom tab bar controller for iOS.","archived":false,"fork":false,"pushed_at":"2018-02-23T00:12:29.000Z","size":1583,"stargazers_count":124,"open_issues_count":4,"forks_count":23,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-04-29T16:08:31.370Z","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":"petkaantonov/bluebird","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ezescaruli.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-05-04T02:30:19.000Z","updated_at":"2023-09-18T02:32:44.000Z","dependencies_parsed_at":"2022-09-09T10:23:19.604Z","dependency_job_id":null,"html_url":"https://github.com/ezescaruli/ESTabBarController","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezescaruli%2FESTabBarController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezescaruli%2FESTabBarController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezescaruli%2FESTabBarController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezescaruli%2FESTabBarController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ezescaruli","download_url":"https://codeload.github.com/ezescaruli/ESTabBarController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228543121,"owners_count":17934427,"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-01-05T20:16:23.027Z","updated_at":"2024-12-07T00:30:55.414Z","avatar_url":"https://github.com/ezescaruli.png","language":"Objective-C","readme":"ESTabBarController\n========================\n\n![Pod Platform](http://img.shields.io/cocoapods/v/ESTabBarController.svg?style=flat)\n\n`ESTabBarController` is a custom tab bar controller for iOS. It has a tab indicator that moves animated along the bar when switching between tabs. It also provides the capability of running actions associated with the tab bar buttons.\n\nCompatible with iOS 7.0 and above.\n\n\n\u003cimg src=\"./Readme/Demo.gif\" alt=\"Demo\" width=\"320\"/\u003e\n\n\n## Installation\n\nSimply add `ESTabBarController` to your `Podfile`:\n```ruby\npod 'ESTabBarController'\n```\n\n## Usage\n\n\n### Initialization\n\n`ESTabBarController` is initialized with an array of images that represent icons for the buttons in the tab bar:\n```objc\nESTabBarController *tabBarController = [[ESTabBarController alloc] initWithTabIcons:@[[UIImage imageNamed:@\"firstIcon\"],\n                                                                                      [UIImage imageNamed:@\"secondIcon\"],\n                                                                                      [UIImage imageNamed:@\"thirdIcon\"]]];\n```\n\nIf the images are all loaded from the main bundle, a convenience initializer can be used:\n```objc\nESTabBarController *tabBarController = [[ESTabBarController alloc] initWithTabIconNames:@[@\"firstIcon\", @\"secondIcon\", @\"thirdIcon\"]];\n```\n\n\n### View controllers\n\nView controllers are set in the way:\n```objc\n[tabBarController setViewController:myFirstViewController\n                            atIndex:0];\n\n[tabBarController setViewController:mySecondViewController\n                            atIndex:2];\n```\nNote that it is possible to have an index without an associated view controller. This can be useful when having a button that performs an action but does not switch to a view controller.\n\n\n### Actions\n\n`ESTabBarController` allows performing actions when pressing a button in the tab bar:\n```objc\n[tabBarController setAction:^{\n    // Perform an action.\n} atIndex:1];\n```\nIf there is also a controller associated with the index for an action, this is performed immediately after switching to the controller.\n\n### Highlighted buttons\n\n`ESTabBarController` allows having highlighted buttons. These are displayed in a different way, and are useful when trying to give more importance to a view controller or action.\n```objc\n[tabBarController highlightButtonAtIndex:1];\n```\n\n### Colors\n\n`ESTabBarController` provides a way to customize two colors:\n- The color of the selected buttons and the selection indicator:\n```objc\ntabBarController.selectedColor = [UIColor redColor]; // Any color.\n```\n- The background color of the buttons:\n```objc\ntabBarController.buttonBackgroundColor = [UIColor grayColor]; // Any color.\n```\n\n### Example\n\nMore usage information can be found in the Example project.\n\n\n## License\n\nThis library is available under the [MIT license](http://www.opensource.org/licenses/mit-license.php).\n","funding_links":[],"categories":["UI","Objective-C"],"sub_categories":["Tab Bar","Layout","Other free courses"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fezescaruli%2FESTabBarController","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fezescaruli%2FESTabBarController","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fezescaruli%2FESTabBarController/lists"}