{"id":17216938,"url":"https://github.com/snail-z/thememanager","last_synced_at":"2025-08-21T08:30:58.038Z","repository":{"id":56924178,"uuid":"101376367","full_name":"snail-z/ThemeManager","owner":"snail-z","description":"ThemeManager is a lightweight library for application to switching themes. support more attributes and theme extensions. more easy and convenient to use.","archived":false,"fork":false,"pushed_at":"2019-02-20T03:10:57.000Z","size":4914,"stargazers_count":170,"open_issues_count":1,"forks_count":28,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-17T17:18:47.029Z","etag":null,"topics":["cocoapods","json","night-mode","objective-c","plist","skin","theme","ui"],"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/snail-z.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-08-25T07:07:56.000Z","updated_at":"2023-10-28T11:01:53.000Z","dependencies_parsed_at":"2022-08-20T22:50:31.182Z","dependency_job_id":null,"html_url":"https://github.com/snail-z/ThemeManager","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snail-z%2FThemeManager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snail-z%2FThemeManager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snail-z%2FThemeManager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snail-z%2FThemeManager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snail-z","download_url":"https://codeload.github.com/snail-z/ThemeManager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230501172,"owners_count":18236061,"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":["cocoapods","json","night-mode","objective-c","plist","skin","theme","ui"],"created_at":"2024-10-15T03:42:48.268Z","updated_at":"2024-12-19T21:09:57.141Z","avatar_url":"https://github.com/snail-z.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"  \u003cimg src=\"http://oqebi7u13.bkt.clouddn.com/ThemeManager.png\" alt=\"ThemeManager\" title=\"ThemeManager\"\u003e\n\n[![Language](https://img.shields.io/badge/Language-%20Objective--C%20-orange.svg)](https://travis-ci.org/snail-z/ThemeManager)\n[![Version](https://img.shields.io/badge/pod-v2.0.0-brightgreen.svg)](http://cocoapods.org/pods/ThemeManager)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](http://cocoapods.org/pods/ThemeManager)\n[![Platform](https://img.shields.io/badge/platform-%20iOS7.0+%20-lightgrey.svg)](http://cocoapods.org/pods/ThemeManager)\n\nThemeManager is a lightweight  library for application to switching themes, support more attributes and theme extensions. more easy and convenient to use.\n\n\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Requirements\n\n- Requires iOS 7.0 or later\n- Requires Automatic Reference Counting (ARC)\n\n## Installation\n\nThemeManager is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\nplatform :ios, '7.0'\nuse_frameworks!\n\ntarget 'You Project' do\n    \n\tpod \"ThemeManager\", '~\u003e 2.0'\n    \nend\n```\n\n## Preview \n\n- Switch support images.\n\n  \u003cimg src=\"http://oqebi7u13.bkt.clouddn.com/preview1.gif\" width=\"204px\" height=\"365px\"\u003e\n\n\n- Mode during the day and night mode switch of the skin.\n\n  \u003cimg src=\"http://oqebi7u13.bkt.clouddn.com/preview2.gif\" width=\"204px\" height=\"365px\"\u003e\n\n\n\n- A variety of styles to switch.\n\n  \u003cimg src=\"http://oqebi7u13.bkt.clouddn.com/preview3.gif\" width=\"204px\" height=\"365px\"\u003e\n\n- Support fonts and transparency switches.\n\n  \u003cimg src=\"http://oqebi7u13.bkt.clouddn.com/preview4.gif\" width=\"204px\" height=\"365px\"\u003e\n\n  ​\n## Usage\n\nSee demo. please wait...\n\n\n\n## Update\n\n- Support iPhone X\n\n- Support iOS 11\n\n- Support custom method theme switch\n\n```objc\n// When the external custom methods, you can use it.\n- (void)zh_addThemePickerForSelector:(SEL)sel withArguments:(id)arguments, ...;\n\nNote:\nThe all parameters must be id type. \nif the basic data types needs to be encapsulated into NSNumber; the struct type needs to be encapsulated into NSValue. \nExample：\nNSNumber *number = [NSNumber numberWithInteger:2];\nNSValue *value = [NSValue valueWithCGSize:CGSizeMake(100, 100)];\nzhThemeColorPicker *picker = ThemeColorPickerWithKey(@\"key\");\n[object zh_addThemePickerForSelector:@selector(setColor:Integer:setCGSize:)\n\t\t       withArguments:picker, number, value];\n```\n\n## Author\n\nsnail-z, haozhang0770@163.com\n\n## License\n\nThemeManager is available under the MIT license. See the LICENSE file for more info.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnail-z%2Fthememanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnail-z%2Fthememanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnail-z%2Fthememanager/lists"}