Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 557 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 557 Bytes

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;"];