{"id":19313653,"url":"https://github.com/geektree0101/unlimitbar","last_synced_at":"2026-06-18T15:32:00.576Z","repository":{"id":56925426,"uuid":"109483725","full_name":"GeekTree0101/UnlimitBar","owner":"GeekTree0101","description":"I HATE UINavigationBar attribute restriction","archived":false,"fork":false,"pushed_at":"2017-11-05T15:48:20.000Z","size":3257,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-18T01:39:22.803Z","etag":null,"topics":["ios","swift","uikit"],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/GeekTree0101.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-11-04T09:52:29.000Z","updated_at":"2023-04-08T22:24:15.000Z","dependencies_parsed_at":"2022-08-21T06:20:07.141Z","dependency_job_id":null,"html_url":"https://github.com/GeekTree0101/UnlimitBar","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeekTree0101%2FUnlimitBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeekTree0101%2FUnlimitBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeekTree0101%2FUnlimitBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeekTree0101%2FUnlimitBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GeekTree0101","download_url":"https://codeload.github.com/GeekTree0101/UnlimitBar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240415272,"owners_count":19797603,"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":["ios","swift","uikit"],"created_at":"2024-11-10T00:40:36.434Z","updated_at":"2026-06-18T15:32:00.531Z","avatar_url":"https://github.com/GeekTree0101.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UnlimitBar\n\n[![CI Status](http://img.shields.io/travis/Geektree0101/UnlimitBar.svg?style=flat)](https://travis-ci.org/Geektree0101/UnlimitBar)\n[![Version](https://img.shields.io/cocoapods/v/UnlimitBar.svg?style=flat)](http://cocoapods.org/pods/UnlimitBar)\n[![License](https://img.shields.io/cocoapods/l/UnlimitBar.svg?style=flat)](http://cocoapods.org/pods/UnlimitBar)\n[![Platform](https://img.shields.io/cocoapods/p/UnlimitBar.svg?style=flat)](http://cocoapods.org/pods/UnlimitBar)\n\n\u003cimg src=\"https://github.com/GeekTree0101/UnlimitBar/blob/master/resource/UnlimitBar1.png\" /\u003e\n\u003cimg src=\"https://github.com/GeekTree0101/UnlimitBar/blob/master/resource/UnlimitBar2.png\" /\u003e\n\n### Feel the freedom from UINavigationBar ~~Holy Shit~~ Restrictions\n\n## [Guideline]\n\n1. import UnlimitBar\n2. create custom navigation bar as UIView \n3. call applyNavigationBar method\n+ If you want animate navigationBar then use transitionAnimateion method\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n1. ScrollView case\n```swift\n    // Create Custom UIView for NavigationBar\n    let catFeedNavBar = CatFeedNavigationBar.loadView()\n        \n    // apply custom navigation bar\n    self.applyNavigationBar(catFeedNavBar, // custom navbar\n                            expectHeight: CatFeedNavigationBar.Const.height, // navbar default height\n                            backButton: nil, // back button auto hide\n                            statusBarColor: UIColor.white, // status bar color\n                            relatedScrollView: tableView) // tableView -\u003e autoresize content top inset\n                                \n\n```\ntransition animation\n```swift\n    func scrollViewDidScroll(_ scrollView: UIScrollView) {\n        self.transitionAnimateion(scrollView, type: .autohide) // auto show/hide\n        // if you want control show/hide navbar base scroll offset\n        self.transitionAnimateion(scrollView, type: .transition(SHOW_OFFSET, HIDE_OFFSET)) \n        self.transitionAnimateion(scrollView, type: .reset) // reset animation\n    }\n\n```\n\n2. Single ViewController\n- first you need uppermost top constraint of view on view controller\n```swift\n    @IBOutlet weak var topConstraint: NSLayoutConstraint! \n    or\n    let topConstraint: NSLayoutConstraint ...\n\n```\n- insert constraint parameter on applyNavigationBar method\n```swift \n    let catNavigationBar = CatSingleNavigationBar.loadView()\n        \n    self.applyNavigationBar(catNavigationBar, // custom bar\n                            expectHeight: CatSingleNavigationBar.Const.navBarHeight, // bar height\n                            backButton: catNavigationBar.backButton, // back button\n                            statusBarColor: UIColor.white, // color\n                            subViewTopConstraint: self.topConstraint) // CONSTRAINT\n```\n\n## TODO(milestone)\n\n- Fix some method name spelling\n- Scroll offset base navigationBar animation\n- Support TabBar\n- Update constraint after rotate orientation\n\n## Installation\n\nUnlimitBar is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'UnlimitBar'\n```\n\n## Author\n\nGeektree0101, h2s1880@gmail.com\n\n## License\n\nUnlimitBar 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%2Fgeektree0101%2Funlimitbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeektree0101%2Funlimitbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeektree0101%2Funlimitbar/lists"}