IvanYue / cocoaui-demos

Build Native iOS Apps with Simple HTML+CSS, Flow Layout

Home Page:http://www.cocoaui.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CocoaUIDemo

Build Native iOS Apps with HTML+CSS

For Web developers to build native iOS apps, using the familiar web development languages, such as HTML, CSS.

Demo:

[superview.style set:@"padding: 10;"];

Wrapping native UIViews:

UISwitch *s1 = [[UISwitch alloc] init];
UISwitch *s2 = [[UISwitch alloc] init];
IView *view = [[IView alloc] init];
[view.style set:@"padding: 4; border: 1 solid #000; border-radius: 5;"];
[view addSubview:s1 style:@"float: left; margin: 3;"];
[view addSubview:s2 style:@"float: right; margin: 3;"];

About

Build Native iOS Apps with Simple HTML+CSS, Flow Layout

http://www.cocoaui.com/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Objective-C 98.2%Language:CSS 1.8%