iOS 学习笔记
dacaiguoguo
这个作者很懒,什么都没留下…
展开
-
Defining Shared Locations for Project Files
Defining Shared Locations for Project FilesThunder Download PluginThunder Download PluginDefine custom source trees—named locations for files that are outside the project folder. This is useful if you原创 2013-07-03 13:17:22 · 560 阅读 · 0 评论 -
Filter NSPredicate
// // main.m // filterArray // // Created by yanguo.sun on 13-6-18. // Copyright (c) 2013年 YEK. All rights reserved. // #import NSArray *filterArrayWith(NSString *searchText,NSArray *recipes);原创 2013-07-03 13:17:24 · 503 阅读 · 0 评论 -
libextobjc 优点
* **Simpler and safer key paths**, using EXTKeyPathCoding, which automatically checks key paths at compile-time.libextobjc (0.2.5) A Cocoa library to extend the Objective-C programming language. -原创 2013-07-03 13:17:26 · 4161 阅读 · 0 评论 -
NSMutableAttributedString 使用
NSMutableAttributedString *mut = [[NSMutableAttributedString alloc] initWithAttributedString:attributedString]; [mut addAttribute:(NSString *)kCTFontAttributeName原创 2013-07-29 13:35:11 · 856 阅读 · 0 评论 -
App Icons on iPad and iPhone
https://developer.apple.com/library/ios/qa/qa1686/_index.html转载 2013-09-26 14:27:27 · 634 阅读 · 0 评论 -
deviceToken 转换
// Prepare the Device Token for Registration (remove spaces and ) NSString *deviceToken = [[[[devToken description] stringByReplacingOccurrencesOfString:@"withString:@""] stringByReplaci原创 2013-09-26 16:24:26 · 994 阅读 · 0 评论 -
NSTimer与Run loop Modes
原文:http://www.winddisk.com/2012/06/29/nstimer_run_loop_modes/ NSTimer与Run loop Modes 一.NSRunLoop 在Cocoa中,每个线程(NSThread)对象中内部都有一个run loop(NSRunLoop)对象用来循环处理输入事件,处理的事件包括两类,一是来自Input转载 2013-09-29 10:47:07 · 393 阅读 · 0 评论