02 2015 档案

摘要:被问到了一个问题:如何从一个子视图或者一个View中刷新其他UITableView,常规的写法可能是这样的TestTVC*testTVC =[[TestTVC alloc] init];[testTVC loadData];这时你可以看看UITableView是不会被刷新的,起码cellForRowAtIndexPath是不会运行的,为什么呢?因为对TestTVC这样init实际是重新init了一... 阅读全文
posted @ 2015-02-25 19:06 xxd 阅读(785) 评论(0) 推荐(0) 编辑
摘要:如果当前是个VC,那么就太简单了,直接就可以push到下一个vcAddShopViewController *controller = [[AddShopViewController alloc] init];controller.view.backgroundColor = [UIColor wh... 阅读全文
posted @ 2015-02-24 21:21 xxd 阅读(2351) 评论(0) 推荐(0) 编辑