02 2016 档案

摘要:- (void)presentViewController:(UIViewController *)viewControllerToPresent animated:(BOOL)flag completion:(void (^)(void))completionMainVC *mainVC = [[ 阅读全文
posted @ 2016-02-24 15:36 新阳
摘要:======================================================================== 多线程的原理 同一时间,cpu只能处理一条线程,只有一条线程在工作(执行); 多线程并发(同时)执行,其实是cpu快速的在多条线程之间调度(切换) 主线程 阅读全文
posted @ 2016-02-23 14:04 新阳
摘要:[self.collectionView registerClass:[UICollectionViewCell class] forCellWithReuseIdentifier:KCollectionViewCellID]; UICollectionViewCell *cell = [colle 阅读全文
posted @ 2016-02-23 13:55 新阳