{"id":18693826,"url":"https://github.com/mengxianliang/xlnavigationbar","last_synced_at":"2025-04-12T06:53:18.767Z","repository":{"id":56928151,"uuid":"265805491","full_name":"mengxianliang/XLNavigationBar","owner":"mengxianliang","description":"An navigationBar appearance config tool.","archived":false,"fork":false,"pushed_at":"2020-05-28T02:12:15.000Z","size":1202,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T06:53:13.040Z","etag":null,"topics":["navigation","navigationbar"],"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/mengxianliang.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":"2020-05-21T09:18:06.000Z","updated_at":"2022-09-27T06:27:51.000Z","dependencies_parsed_at":"2022-08-21T06:20:20.768Z","dependency_job_id":null,"html_url":"https://github.com/mengxianliang/XLNavigationBar","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengxianliang%2FXLNavigationBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengxianliang%2FXLNavigationBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengxianliang%2FXLNavigationBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengxianliang%2FXLNavigationBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mengxianliang","download_url":"https://codeload.github.com/mengxianliang/XLNavigationBar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248530592,"owners_count":21119595,"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":["navigation","navigationbar"],"created_at":"2024-11-07T11:07:14.991Z","updated_at":"2025-04-12T06:53:18.742Z","avatar_url":"https://github.com/mengxianliang.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XLNavigationBar\n\n## Example\n\n| Weibo | Douyin | \n| ---- | ---- | \n|![image](https://github.com/mengxianliang/ImageRepository/blob/master/XLNavigationBar/weibo.gif)|![image](https://github.com/mengxianliang/ImageRepository/blob/master/XLNavigationBar/douyin.gif)|\n\n## Installation\n\nTo integrate XLNavigationBar into your Xcode project using CocoaPods, specify it in your Podfile:\n\n```ruby\npod 'XLNavigationBar'\n```\n\n## Usage\n\nYou can config by global or view controller itself, if config both,  it will prioritize view controller's config. Don't forget set XLNavigationBar enabled at first !*\n\n### Global Config\n\n```objc\n//enable XLNavigationBar at first\n[XLNavigationBar shareInstance].enabled = YES;\n//bar title color\n[XLNavigationBar shareInstance].xl_navBarTitleColor = [UIColor blackColor];\n//bar title font\n[XLNavigationBar shareInstance].xl_navBarTitleFont = [UIFont systemFontOfSize:20];\n//bar background color\n[XLNavigationBar shareInstance].xl_navBarBackgroundColor = [UIColor whiteColor];\n//bar background alpha\n[XLNavigationBar shareInstance].xl_navBarBackgroundAlpha= 1;\n//bar button color\n[XLNavigationBar shareInstance].xl_navBarButtonColor = [UIColor blackColor];\n//bar shadow image hidden\n[XLNavigationBar shareInstance].xl_navBarShadowImageHidden = NO;\n//status bar style\n[XLNavigationBar shareInstance].xl_statusBarStyle = UIStatusBarStyleLightContent;\n//status bar hidden\n[XLNavigationBar shareInstance].xl_statusBarHidden = NO;\n```\n\n### ViewController Config\n\n```objc\n//bar title color\nself.xl_navBarTitleColor = [UIColor blackColor];\n//bar title font\nself.xl_navBarTitleFont = [UIFont systemFontOfSize:20];\n//bar background color\nself.xl_navBarBackgroundColor = [UIColor whiteColor];\n//bar background alpha\nself.xl_navBarBackgroundAlpha= 1;\n//bar button color\nself.xl_navBarButtonColor = [UIColor blackColor];\n//bar shadow image hidden\nself.xl_navBarShadowImageHidden = NO;\n//status bar style\nself.xl_statusBarStyle = UIStatusBarStyleLightContent;\n//status bar hidden\nself.xl_statusBarHidden = NO;\n```\n\n## Other\n\nZoom header [XLZoomHeader](https://github.com/mengxianliang/XLZoomHeader)\n\nUI tools  [XLUIKit](https://github.com/mengxianliang/XLUIKit)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmengxianliang%2Fxlnavigationbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmengxianliang%2Fxlnavigationbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmengxianliang%2Fxlnavigationbar/lists"}