Nui

screenshot of Nui

Style iOS apps with a stylesheet, similar to CSS

Overview

NUI is a drop-in UI kit for iOS that allows you to style UI elements using a stylesheet, similar to CSS. It provides a quick and easy way to update the visual appearance of an entire application in minutes. NUI supports a CSS-like syntax with variables, making it easy to define and modify styles for UI elements. It also allows you to create custom style classes and modify an application's styling while it is running.

Features

  • Drop-in UI kit: Easily incorporate NUI into your iOS app.
  • Stylesheet styling: Style UI elements using a stylesheet, similar to CSS.
  • Quick app styling: Update the visual appearance of an entire app in minutes.
  • Theme saving: Save themes for use in multiple applications.
  • Simple rules: Set the styles of UI elements using simple rules, similar to CSS.
  • Support for variables: Define variables like @primaryFontName or @myBackgroundColor.
  • Custom style classes: Quickly create custom style classes.
  • Runtime styling modification: Modify an application's styling while it is running.

CocoaPods

  1. Install NUI using CocoaPods by adding the following line to your Podfile: pod 'NUI'
  2. In the AppDelegate.m file, add the following line to the application:didFinishLaunchingWithOptions method: [NUISettings init];

Without CocoaPods

  1. Copy the NUI directory into your application.
  2. Add the CoreImage and QuartzCore frameworks to your application.
  3. Add NUIParse as a subproject, set its iOSNUIParse target as a dependency of your target, and add libNUIParse.a to your linked libraries.
  4. In the AppDelegate.m file, add the following line to the application:didFinishLaunchingWithOptions method: [NUISettings init];

Summary

NUI is a powerful UI kit for iOS that allows you to easily style UI elements using a stylesheet, similar to CSS. It provides a convenient way to update the visual appearance of an entire app in minutes, and supports variables and simple rules for defining styles. With NUI, you can create custom style classes, save themes for multiple applications, and even modify an application's styling while it is running. Whether you choose to use CocoaPods or install NUI manually, integrating it into your iOS app is straightforward. NUI is a valuable tool for iOS developers looking to streamline the UI styling process.

ui-kit
UI Kits & Components

A UI kit provides developers with a set of reusable components that can be easily integrated into a website or application. These components are pre-designed with consistent styling and functionality, allowing developers to save time and effort in the design and development process. UI kits can be either custom-built or third-party, and often include components for buttons, forms, typography, icons, and more.