Open Source iOS Library For Quickly Applying A Color Theme To All Your UI Components

Previously I mentioned RNTHemeManager a library allowing you to theme your interface with variables stored within a plist file, and Chameleon, a color helper library that can automatically choose the nearest flat color for your interface.

Here’s an open source library that allows you to very quickly apply a them to your UIKit interface components by simply supplying your chosen colors, and font.

As the readme states:

MAThemeKit provides iOS developers the ability to create a coherent color theme throughout their entire application using a single line of code, removing the need to mess with the dozens of UIAppearance proxies for each UI component.

Here’s an image from the readme showing a themed interface:
MAThemeKit

And the code used to create this theme:

[MAThemeKit setupThemeWithPrimaryColor:[MAThemeKit colorWithR:0 G:184 B:156] secondaryColor:[UIColor whiteColor] fontName:@"HelveticaNeue-Light" lightStatusBar:YES];

You can find MATHemeKit on Github here.

A very nice library for easily applying a theme to your interface.

FacebookTwitterDiggStumbleUponGoogle Plus

Original article: Open Source iOS Library For Quickly Applying A Color Theme To All Your UI Components

©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *