06 2014 档案

摘要://利用CATransition来作模拟//模拟Push- (void)pushView:(UIView *)pushView inView:(UIView *)inView{ CATransition *animation = [CATransition animation]; ani... 阅读全文
posted @ 2014-06-26 16:18 墨禾米说 阅读(317) 评论(0) 推荐(0) 编辑
摘要:[_handoutButton setImage: [UIImage imageNamed:IMG_PUBLIC_VideoView_Handout] forState:UIControlStateNormal];[_handoutButton setImage: [UIImage imageNam... 阅读全文
posted @ 2014-06-24 15:51 墨禾米说 阅读(296) 评论(0) 推荐(0) 编辑
摘要:ios7以下的版本设置导航栏背景颜色可以使用[[UINavigationBar appearance] setTintColor:[UIColor orangeColor]];ios7以后:[[UINavigationBar appearance] setBarTintColor:[UIColor ... 阅读全文
posted @ 2014-06-21 13:50 墨禾米说 阅读(539) 评论(0) 推荐(0) 编辑
摘要:IOS在Cell上的优化令人觉得底层框架的成熟,可是有些情形却会造成不必要的麻烦,当使用了 UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:Identifier];有可能会造成画面重复的问题,此句的意思是,... 阅读全文
posted @ 2014-06-18 16:45 墨禾米说 阅读(357) 评论(0) 推荐(0) 编辑
摘要:if (indexPath.row %2 ==1){ cell.backgroundColor = [UIColor colorWithRed:.7 green:.7 blue:.7 alpha:1]; } else{ ... 阅读全文
posted @ 2014-06-17 14:07 墨禾米说 阅读(187) 评论(0) 推荐(0) 编辑
摘要:由于NSUserDefaults 不支持保存自定类,保存的对象需要实现NSCoding协议,不过自定的类型就算实现了NSCoding也不可以保存,可以通过以下方法实现://h文件#import @interface People : NSObject@property(nonatomic,copy)... 阅读全文
posted @ 2014-06-12 20:24 墨禾米说 阅读(597) 评论(0) 推荐(0) 编辑
摘要:百度云下载http://pan.baidu.com/s/1qWpuIC0提取码:ip9o苹果下载:http://adcdownload.apple.com//wwdc_2014/xcode_6_beta_ie8g3n/xcode_6_beta.dmg转自:http://1.becks.sinaapp... 阅读全文
posted @ 2014-06-05 10:18 墨禾米说 阅读(302) 评论(0) 推荐(0) 编辑
摘要:[iOS] Error Fixed : [__NSArrayI addObject:]: unrecognized selector sent to instance当我创建了一个NSMutableArray 对象的时候@property(nonatomic,copy)NSMutableArray*... 阅读全文
posted @ 2014-06-04 11:21 墨禾米说 阅读(852) 评论(0) 推荐(0) 编辑