{"id":13700395,"url":"https://github.com/makomori/Tamamushi","last_synced_at":"2025-05-04T18:35:11.156Z","repository":{"id":56923730,"uuid":"75705640","full_name":"makomori/Tamamushi","owner":"makomori","description":"Gradient NavigationBar library written in Swift","archived":false,"fork":false,"pushed_at":"2019-08-25T04:40:58.000Z","size":3047,"stargazers_count":95,"open_issues_count":2,"forks_count":15,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-15T21:48:19.944Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/makomori.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":"2016-12-06T07:21:34.000Z","updated_at":"2023-08-26T13:05:48.000Z","dependencies_parsed_at":"2022-08-20T22:10:04.911Z","dependency_job_id":null,"html_url":"https://github.com/makomori/Tamamushi","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makomori%2FTamamushi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makomori%2FTamamushi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makomori%2FTamamushi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makomori%2FTamamushi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/makomori","download_url":"https://codeload.github.com/makomori/Tamamushi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252383202,"owners_count":21739288,"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-02T20:00:55.310Z","updated_at":"2025-05-04T18:35:06.125Z","avatar_url":"https://github.com/makomori.png","language":"Swift","funding_links":[],"categories":["Swift"],"sub_categories":[],"readme":"![Header of Tamamushi](https://github.com/makomori/Tamamushi/blob/master/tamamushi_header_gray.png)\n# Tamamushi\nTamamushi is an easy to use gradient UINavigationBar written in Swift 3. You can use already defined gradient color sets like Facebook Messenger, YouTube, SoundCloud or other cool gradient color sets.\n\nAnd \"Tamamushi\" is the Japanese name of the insect which has beautiful gradient color wings.\n\n## Requirements\n- Swift 3\n- Xcode 8\n\n## Installation\n### Cocoapods\n```\npod 'Tamamushi'\n```\n\n### Carthage\nWill be available soon.\n\n## Usage\n```import Tamamushi``` in the class you set gradient UINavigationBar\n \n### In AppDelegate\n``` Swift\nfunc application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -\u003e Bool {\n    TMGradientNavigationBar().setInitialBarGradientColor(direction: .vertical, typeName: \"SoundCloud\")\n    return true\n}\n```\n\n### In UIViewController(with NavigationBar)\n\n``` Swift\noverride func viewDidLoad() {\n    super.viewDidLoad()  \n    TMGradientNavigationBar().setGradientColorOnNavigationBar(bar: (self.navigationController?.navigationBar)!, direction: .vertical, typeName: \"Facebook Messenger\")\n}\n```\n\n## Customization\n### Using defined colors\nYou can use gradient color \ndefined in [gradients.json](https://github.com/makomori/Tamamushi/blob/master/Tamamushi/gradients.json).\n\n``` Swift\nTMGradientNavigationBar().setInitialBarGradientColor(direction: .vertical, typeName: \"SoundCloud\")\n```\nPlease look at the ist of gradient colors available.\n\n### Using original colors\nOf course you can use original gradient colors.\n\n``` Swift\nTMGradientNavigationBar().setInitialBarGradientColor(direction: .horizontal, startColor: .red, endColor: .blue)\n```\n\n### Direction\nyou can choose the direction of gradation. (Default is vertical)\n\n```.horizontal```, or ```.vertical```\n\n## License\nThis library is released with MIT license. And as a source of colors, JSON file from uiGradients by ghosh is used.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakomori%2FTamamushi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakomori%2FTamamushi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakomori%2FTamamushi/lists"}