cocoaui
cocoaui copied to clipboard
Build adaptive UI for iOS Apps with flow-layout and CSS properties
你好,我在试用的时候发现一个问题。 我在ITable子类中用到了UIScrollViewDelegate,实现了- (void)scrollViewDidScroll:(UIScrollView *)scrollView方法,然后页面就出问题了,我想问题应该是覆盖了ITable中的方法,像这个问题应该怎么处理呢? 谢谢!
Use HTML table to define a ITable in XML file.
接用户反馈:这个问题只在swift里,oc里正常
问题: UITabBarController , UINavigationController, ITable,三者混用时,特别在二级UINavigationController POP时后,ITable中的Row会出现下移问题。 解决办法: 1、在ITable.m 中viewDidLoad中增加 self.automaticallyAdjustsScrollViewInsets = NO; //禁止自动调整。 2、在init 在ITable.m 中init中增加: ``` scrollFrame = CGRectMake(0, NAV_HEIGHT, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height-64-50); ``` 在ITable.m 中layoutViews中自定义修改高度: ``` CGSize...
## XML ``` option 1 option 2 option 3 option 4 ``` ## Objective-C: ``` ISelect *sel = (ISelect *)[view getViewById:@"select1"]; [sel onSelectKey:^(NSString *key) { log_debug(@"select %@", key); }]; ```...
demo中有一个自动行高的列子,但其中的cell是通过代码创建的。 我在xml文件中定义一个cell,然后添加到ITable中,然后修改cell中某个Label的文本,发现不支持可变的行高,是我的用法不对么?
hi sir. can this library support z-index attribute on next version? it will make it more easy to do some lively works
要使用base64编码的图片,目前``这样可以用,但是我直接用IImage就不行了,能不能给IImage的src属性也增加DataURI的判断?
CocoaUI will handle screen rotation automatically. CocoaUI 现在会自动处理屏幕翻转, 并刷新界面了.