2016年5月31日

OC中消息机制

摘要: 2、CLASS消息机制 参考文档Cocoa深入检出消息机制1,首先去该类的方法 cache 中查找,如果找到了就返回它;2,如果没有找到,就去该类的方法列表中查找。如果在该类的方法列表中找到了,则将 IMP 返回,并将它加入cache中缓存起来。根据最近使用原则,这个方法再次调用的可能性很大,缓存起 阅读全文

posted @ 2016-05-31 09:53 码上翻身 阅读(312) 评论(0) 推荐(0)

Layout

摘要: 一、- (BOOL)translatesAutoresizingMaskIntoConstraints NS_AVAILABLE_IOS(6_0); // Default YES 标示是否自动遵循视图布局约束二、- (void)setTranslatesAutoresizingMaskIntoCon 阅读全文

posted @ 2016-05-31 09:47 码上翻身 阅读(303) 评论(0) 推荐(0)

GestureRecognizers

摘要: 一、@property(nonatomic,copy) NSArray *gestureRecognizers NS_AVAILABLE_IOS(3_2); 手势识别器UIKit 中UIGestureRecognizer类的子类系列如下:UITapGestureRecognizer – “轻击”手势 阅读全文

posted @ 2016-05-31 09:46 码上翻身 阅读(474) 评论(0) 推荐(0)

Animations

摘要: 一、+ (void)beginAnimations:(NSString *)animationID context:(void *)context; 开始一个动画[UIView beginAnimations:@"go" context:nil]; 4.0以后推荐使用+ (void)animateW 阅读全文

posted @ 2016-05-31 09:45 码上翻身 阅读(262) 评论(0) 推荐(0)

UIView

摘要: 一、UIView.h 目录iOS$1 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/UIK 阅读全文

posted @ 2016-05-31 09:41 码上翻身 阅读(597) 评论(0) 推荐(0)

UIWindow

摘要: UIWindow.h文件 1、 IOS /Applications//Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/U 阅读全文

posted @ 2016-05-31 09:37 码上翻身 阅读(533) 评论(0) 推荐(0)

NSArray

摘要: 一、NSArray.h文件 1、 IOS /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/F 阅读全文

posted @ 2016-05-31 09:36 码上翻身 阅读(1479) 评论(0) 推荐(0)

NSString

摘要: 一、NSString.h文件所在 1、 IOS $1 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Framew 阅读全文

posted @ 2016-05-31 09:35 码上翻身 阅读(791) 评论(0) 推荐(0)

NSObject

摘要: 一、NSObject.h文件所在 1、 IOS文件 $1 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Fram 阅读全文

posted @ 2016-05-31 09:25 码上翻身 阅读(308) 评论(0) 推荐(0)

UIKit

摘要: 一、UIKit.framework目录 1、 IOS目录 $1 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/F 阅读全文

posted @ 2016-05-31 09:15 码上翻身 阅读(477) 评论(0) 推荐(0)

导航