News for hackers. Stuff that matters.
Re:Show HN: nativeCSS launches iOS apps styling with CSS by killahpriest on Monday February 04, 2013 @01:03PM (#5165798)
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)

- Shorthand properties border: 1px solid #fff;

- Shorthand color codes: #fff

    textview,textfield{
       border-radius:0px;
       background-color:#fff; 
       padding:5px;
       border:1px solid darkgrey;
       margin:auto;
       width:90%;
    }
Also, $10/app is much better than Pixate's $199 license.

https://github.com/tombenner/nui http://www.pixate.com/

Re:Show HN: nativeCSS launches iOS apps styling with CSS by peternash on Monday February 04, 2013 @04:49PM (#5167384)
There's a video here: http://youtu.be/SgdFxiY5nvg

And a sample app you can play with here: http://nativecss.com/docs/tutorials/intro/ios

Re:Show HN: nativeCSS launches iOS apps styling with CSS by jakejake on Monday February 04, 2013 @05:07PM (#5167494)
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!)
Re:Show HN: nativeCSS launches iOS apps styling with CSS by peternash on Monday February 04, 2013 @05:45PM (#5167723)
Re:Show HN: nativeCSS launches iOS apps styling with CSS by rimantas on Monday February 04, 2013 @01:44PM (#5166092)
Website does not give me any reason why would I prefer this to iOS appearance proxy. Is there any?
Re:Show HN: nativeCSS launches iOS apps styling with CSS by peternash on Monday February 04, 2013 @04:32PM (#5167290)
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!
Re:Show HN: nativeCSS launches iOS apps styling with CSS by sycren on Monday February 04, 2013 @12:17PM (#5165427)
Sweet! Is there going to be an Android version?
Re:Show HN: nativeCSS launches iOS apps styling with CSS by mfkp on Monday February 04, 2013 @12:54PM (#5165733)
Re:Show HN: nativeCSS launches iOS apps styling with CSS by peternash on Monday February 04, 2013 @04:30PM (#5167279)
The Android version is in private beta, shoot me your email and I'll email you when it's ready. I've got a release planned for Valentine's day!
Re:Show HN: nativeCSS launches iOS apps styling with CSS by superiosdev on Monday February 04, 2013 @02:59PM (#5166668)
Doubt how good it is compared to Pixate which has fabulous Playground demo app in AppStore.
Re:Show HN: nativeCSS launches iOS apps styling with CSS by peternash on Monday February 04, 2013 @04:29PM (#5167272)
Well a bit of healthy competition would be good for both of us!
Re:Show HN: nativeCSS launches iOS apps styling with CSS by United857 on Monday February 04, 2013 @02:14PM (#5166316)
Is this something like PhoneGap to mix HTML/JS and native code?
Re:Show HN: nativeCSS launches iOS apps styling with CSS by peternash on Monday February 04, 2013 @04:34PM (#5167305)
So phonegap uses CSS to style, but JS as code.

My vision is CSS is great to style, but using standard native components will always be quicker than JS libraries like Phonegap and the sort.

Re:Show HN: nativeCSS launches iOS apps styling with CSS by dododo on Monday February 04, 2013 @12:32PM (#5165571)
perhaps you'd like to use -nativecss as the prefix rather than -ios? you'd hope styles would be portable across platforms?
Re:Show HN: nativeCSS launches iOS apps styling with CSS by peternash on Monday February 04, 2013 @04:36PM (#5167312)
Good point, my reasoning was that I kept getting confused between -ncss, -nativecss, -nc, so I kept it -ios and -android.