I just tried out NUI this weekend (https://github.com/createch/bullrunnerapp), and ended up abandoning halfway through. My code became worse because of it. Some of the style code is in the ViewController, some of it is in the NSS file. Going to have to test nativeCSS.
Looks like this could be better than NUI. Unlike NUI:
- You can have multiple selectors, like in normal CSS
- More css-like names, border-radius (rather than border-width as NUI calls it)
iOS appearance proxy is good at setting a few styles on standard apple components. But CSS is more powerful, easily shared and cross platform then iOS code!
It would be really great to see an actual running example so we could look at it on our device. (edit - like the pixate playground app on the store - for those of us who are too lazy to set up a new project just to give it a quick look!)
Looks like this could be better than NUI. Unlike NUI:
- You can have multiple selectors, like in normal CSS
- More css-like names, border-radius (rather than border-width as NUI calls it)
- Shorthand properties border: 1px solid #fff;
- Shorthand color codes: #fff
Also, $10/app is much better than Pixate's $199 license.https://github.com/tombenner/nui http://www.pixate.com/