cocoaui
cocoaui copied to clipboard
CocoaUI now supports <select> widget.
XML
<select>
<option value="1">option 1</option>
<option value="2">option 2</option>
<option value="3">option 3</option>
<option value="4">option 4</option>
</select>
Objective-C:
ISelect *sel = (ISelect *)[view getViewById:@"select1"];
[sel onSelectKey:^(NSString *key) {
log_debug(@"select %@", key);
}];
Custom the style by CSS:
select{
}
select .label{
}
select .arrow{
}
Screenshot
这个框架真心方便,之前大部分时间都花在调整UI布局上了,整个过程枯燥无聊! 现在用这个框架后,效率提升太多,有更多的时间去写业务逻辑! 非常感谢!!!
@MrLiHong 很高兴这个框架能对你有帮助! 如果你的app是公开的, 欢迎分享, 我也使用一下.