08 2015 档案
摘要:http://www.cnblogs.com/daguo/p/4097263.htmlhttp://www.cnblogs.com/pican/p/3939941.html?utm_source=tuicool有时命令第一次没反应,重复几次就行了
阅读全文
摘要:一.什么是VFL语言?为什么要VFL语言?VFL全称是Visual Format Language,翻译过来是“可视化格式语言”VFL是苹果公司为了简化Autolayout的编码而推出的抽象语言代码分析:1 NSArray *arr = [NSLayoutConstraint constrai...
阅读全文
摘要:一.方法 NSLayoutConstraint *constraint = [NSLayoutConstraint constraintWithItem: attribute: relatedBy: toItem: attribute: multiplier: constant:]Item:要约束...
阅读全文
摘要:NSString *str1=@"string";//这种是保存在常量池 NSString *str2=@"string"; NSLog(@"str1=%p;str2=%p); str1=[NSString stringWithFormat:@"string1"];//这种...
阅读全文
摘要:AppDelegate.m- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[UIWindo...
阅读全文
摘要:今天,被坑了,面试的时候没回答出来,特此记录一下一.继承结构1: UIView的继承结构为: UIResponder : NSObject UIResponder是用来响应事件的,也就是UIView可以响应用户事件2:CALayer的继承结构为: NSObject。 直接从 NSObject继承,...
阅读全文

浙公网安备 33010602011771号