Get Updates By E-mail 

Article Written By:
Johann Dowa

Library For Customized iOS (Beyond UIAppearance) UIKit Components Using A CSS Style Syntax

  •  
  •  
  •  
  •  
  •  

Several months ago I mentioned an interesting library that provided extensive support for styling your iOS app interfaces using CSS styling sheets and the UIAppearance protocol.  The ability to style your app interfaces has also been a feature of the Nimbus and Three20 libraries.

Today I found a new library called Nui that takes customization with a CSS syntax a step further providing more than just UIAppearance customization as the reademe states:

UIAppearance is great, but it doesn’t allow for the granularity that NUI does, and it doesn’t support as many styling modifications as NUI. For example, NUI lets you create multiple classes for a single UI element (e.g. NUIButton, NUILargeButton, NUISmallButton), and it lets you easily add gradients to many elements.

Nui uses Quartz and Core Image to apply it’s customizations.

Here’s an image of the default look that Nui applies to your interfaces:

Here’s an interface with some customizations applied:

You can create customized themes, and use a .plist file to define your customized stylings.

You can find Nui by Tom Benner on Github here with documentation and examples.

A great library for customizing interfaces, and with CSS styling and the ability to define further customizations this solution is ultra-portable between apps.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments