All Projects → snail-z → Thememanager

snail-z / Thememanager

Licence: mit
ThemeManager is a lightweight library for application to switching themes. support more attributes and theme extensions. more easy and convenient to use.

Projects that are alternatives of or similar to Thememanager

Leetheme
优雅的主题管理库- 一行代码完成多样式切换
Stars: ✭ 762 (+361.82%)
Mutual labels:  json, cocoapods, night-mode
Swiftyjson
The better way to deal with JSON data in Swift.
Stars: ✭ 21,042 (+12652.73%)
Mutual labels:  json, cocoapods
Tbox
🎁 A glib-like multi-platform c library
Stars: ✭ 3,800 (+2203.03%)
Mutual labels:  json, plist
Swinjectpropertyloader
Swinject extension to load property values from resources
Stars: ✭ 24 (-85.45%)
Mutual labels:  json, plist
DiscordNight
An actual Dark/Nightmode Theme for Discord/BetterDiscord
Stars: ✭ 86 (-47.88%)
Mutual labels:  skin, night-mode
Serpent
A protocol to serialize Swift structs and classes for encoding and decoding.
Stars: ✭ 281 (+70.3%)
Mutual labels:  json, cocoapods
Nightnight
Elegant way to integrate night mode to swift projects
Stars: ✭ 771 (+367.27%)
Mutual labels:  cocoapods, night-mode
L10n Swift
Localization of the application with ability to change language "on the fly" and support for plural form in any language.
Stars: ✭ 177 (+7.27%)
Mutual labels:  plist, cocoapods
Fontblaster
Programmatically load custom fonts into your iOS and tvOS app.
Stars: ✭ 1,000 (+506.06%)
Mutual labels:  plist, cocoapods
Jsonj
A fluent Java API for manipulating json data structures
Stars: ✭ 42 (-74.55%)
Mutual labels:  json, plist
Countries States Cities Database
🌍 World countries, states, regions, provinces, cities, towns in JSON, SQL, XML, PLIST, YAML, and CSV. All Countries, States, Cities with ISO2, ISO3, Country Code, Phone Code, Capital, Native Language, Timezones, Latitude, Longitude, Region, Subregion, Flag Emoji, and Currency. #countries #states #cities
Stars: ✭ 1,130 (+584.85%)
Mutual labels:  json, plist
Localize
Localize is a framework writed in swift to localize your projects easier improves i18n, including storyboards and strings.
Stars: ✭ 253 (+53.33%)
Mutual labels:  json, cocoapods
Sync
JSON to Core Data and back. Swift Core Data Sync.
Stars: ✭ 2,538 (+1438.18%)
Mutual labels:  json, cocoapods
Dknightversion
Manage Colors, Integrate Night/Multiple Themes. (Unmaintained)
Stars: ✭ 3,559 (+2056.97%)
Mutual labels:  cocoapods, night-mode
Python Benedict
dict subclass with keylist/keypath support, I/O shortcuts (base64, csv, json, pickle, plist, query-string, toml, xml, yaml) and many utilities. 📘
Stars: ✭ 204 (+23.64%)
Mutual labels:  json, plist
Everlayout
Reusable, downloadable, up-datable iOS layouts
Stars: ✭ 103 (-37.58%)
Mutual labels:  json, cocoapods
Swifttheme
🎨 Powerful theme/skin manager for iOS 9+ 主题/换肤, 暗色模式
Stars: ✭ 2,259 (+1269.09%)
Mutual labels:  skin, night-mode
Jxtheme
A powerful and lightweight and customization theme/skin library for iOS 9+ in swift. 主题、换肤、暗黑模式
Stars: ✭ 220 (+33.33%)
Mutual labels:  skin, night-mode
Ios Category
iOS 工具分类整理
Stars: ✭ 30 (-81.82%)
Mutual labels:  json, cocoapods
Unboxedalamofire
[Deprecated] Alamofire + Unbox: the easiest way to download and decode JSON into swift objects.
Stars: ✭ 65 (-60.61%)
Mutual labels:  json, cocoapods
ThemeManager

Language Version License Platform

ThemeManager is a lightweight library for application to switching themes, support more attributes and theme extensions. more easy and convenient to use.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • Requires iOS 7.0 or later
  • Requires Automatic Reference Counting (ARC)

Installation

ThemeManager is available through CocoaPods. To install it, simply add the following line to your Podfile:

platform :ios, '7.0'
use_frameworks!

target 'You Project' do
    
	pod "ThemeManager", '~> 2.0'
    
end

Preview

  • Switch support images.

  • Mode during the day and night mode switch of the skin.

  • A variety of styles to switch.

  • Support fonts and transparency switches.

Usage

See demo. please wait...

Update

  • Support iPhone X

  • Support iOS 11

  • Support custom method theme switch

// When the external custom methods, you can use it.
- (void)zh_addThemePickerForSelector:(SEL)sel withArguments:(id)arguments, ...;

Note:
The all parameters must be id type. 
if the basic data types needs to be encapsulated into NSNumber; the struct type needs to be encapsulated into NSValue. 
Example
NSNumber *number = [NSNumber numberWithInteger:2];
NSValue *value = [NSValue valueWithCGSize:CGSizeMake(100, 100)];
zhThemeColorPicker *picker = ThemeColorPickerWithKey(@"key");
[object zh_addThemePickerForSelector:@selector(setColor:Integer:setCGSize:)
		       withArguments:picker, number, value];

Author

snail-z, [email protected]

License

ThemeManager is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].