Render

Swift and UIKit a la React.

View the Project on GitHub alexdrone/Render

Render Neutrino Swift Platform License

<img src=”docs/assets/logo_new.png” width=150 alt=”Render” align=right />

Render is a declarative library for building efficient UIs on iOS inspired by React.

Render Neutrino is the new version of Render, re-built from the ground up (4.* release here)

From Why React matters:

[The framework] lets us write our UIs as pure function of their states.

Right now we write UIs by poking at them, manually mutating their properties when something changes, adding and removing views, etc. This is fragile and error-prone. […]

[The framework] lets us describe our entire UI for a given state, and then it does the hard work of figuring out what needs to change. It abstracts all the fragile, error-prone code out away from us.

Installing the framework

If you are using CocoaPods:

Add the following to your Podfile:

pod 'RenderNeutrino'

If you are using Carthage:

Add the following line to your Cartfile:

github "alexdrone/Render" "master"    

Manually:

cd {PROJECT_ROOT_DIRECTORY}
curl "https://raw.githubusercontent.com/alexdrone/Render/master/bin/dist.zip" > render_neutrino_dist.zip && unzip render_neutrino_dist.zip

Drag RenderNeutrino.framework in your project and add it as an embedded binary.

Documentation:

Getting started

Components life-cycle

TableViews and CollectionViews (doc in progress)

Layouts

Animations (doc in progress)

Component-based Navigation bar (doc in progress)

Mod: Stylesheet and Hot-Reload (doc in progress)

Mod: Inspector (doc in progress)

Credits:

Layout engine:

In the Stylesheet Mod: