cocoaui icon indicating copy to clipboard operation
cocoaui copied to clipboard

CocoaUI now supports <select> widget.

Open ideawu opened this issue 8 years ago • 2 comments

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

1 2

ideawu avatar May 09 '16 04:05 ideawu

这个框架真心方便,之前大部分时间都花在调整UI布局上了,整个过程枯燥无聊! 现在用这个框架后,效率提升太多,有更多的时间去写业务逻辑! 非常感谢!!!

lihongcoding avatar Jul 14 '16 07:07 lihongcoding

@MrLiHong 很高兴这个框架能对你有帮助! 如果你的app是公开的, 欢迎分享, 我也使用一下.

ideawu avatar Jul 15 '16 04:07 ideawu