代码改变世界

阅读排行榜

swift开发笔记27 UserNotifications

2018-01-02 14:48 by dengchaojie_learner, 189 阅读, 收藏,
摘要: UNNotificationAction UNNotificationCategory UNCalendarNotificationTrigger UNMutableNotificationContent UNNotificationAttachment UNNotificationRequest 阅读全文

原 iOS深入学习(Block全面分析)http://my.oschina.net/leejan97/blog/268536

2015-11-18 15:50 by dengchaojie_learner, 189 阅读, 收藏,
摘要: 原 iOS深入学习(Block全面分析) 发表于1年前(2014-05-24 16:45) 阅读(26949) | 评论(14) 39人收藏此文章, 我要收藏 赞21 原 iOS深入学习(Block全面分析) 发表于1年前(2014-05-24 16:45) 阅读(26949) | 评论(14) 3 阅读全文

NSString

2015-08-19 20:50 by dengchaojie_learner, 189 阅读, 收藏,
摘要: string.uppercaseString,转换成大写 NSLog(@"%@",NSStringFromCGRect(self.view.frame));// NSStringFromCGRect,将CGRect转成字符串 犯了一个严重的错误: //1.2 删除拓展名 NSString *imgN 阅读全文

Associative References(关联引用)

2017-11-10 14:51 by dengchaojie_learner, 188 阅读, 收藏,
摘要: Category中使用关联引用来添加property category是不能创建实例变量的,但我们可以通过关联引用来达到这样的目的。特别是当你不持有这个类,比如说系统的类,而你又的确需要添加一个property。 static char objcAddress; // 给对象_sub关联一个字符串属 阅读全文

removeObjectAtIndex

2015-08-19 21:16 by dengchaojie_learner, 187 阅读, 收藏,
摘要: CGFloat lableW = (baseViewWidth - 2)/3;// dcj20150724,减2是为了解决字体模糊的问题,因为设置了边框。原因是下面引起的 titleview.layer.borderWidth =1; titleview.layer.borderColor = B... 阅读全文
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 54 下一页