05 2015 档案

摘要:调用contextWithOptions:和createCGImage: fromRect:方法创建CIContext。与以往不同的地方是CIImage没有frame与bounds属性;只有extent属性。你将非常频繁的使用这个属性作为createCGImage: fromRect:方法的第二个参... 阅读全文
posted @ 2015-05-28 18:31 嗷大喵 阅读(1109) 评论(0) 推荐(0)
摘要:defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID获取新版xcode的uuidXcode6.3.2显示E969541F-E6F9-4D25-8158-72DC3545A6C6find ~/Lib... 阅读全文
posted @ 2015-05-27 09:48 嗷大喵 阅读(394) 评论(0) 推荐(0)
摘要:方法1:UInt32 audioRoute = kAudioSessionOverrideAudioRoute_Speaker;AudioSessionSetProperty(kAudioSessionProperty_OverrideAudioRoute, sizeof(audioRoute), ... 阅读全文
posted @ 2015-05-22 00:08 嗷大喵 阅读(1448) 评论(0) 推荐(0)
摘要:字符属性 字符属性可以应用于 attributed string 的文本中。 NSString *const NSFontAttributeName;(字体) NSString *const NSParagraphStyleAttributeName;(段落) NSStri... 阅读全文
posted @ 2015-05-09 20:56 嗷大喵 阅读(179) 评论(0) 推荐(0)
摘要:UITextPosition* beginning = _commentTextView.beginningOfDocument; UITextRange* selectedRange = _commentTextView.selectedTextRange; UITextPo... 阅读全文
posted @ 2015-05-06 11:02 嗷大喵 阅读(957) 评论(0) 推荐(0)