IOS
jasonkent27
这个作者很懒,什么都没留下…
展开
-
'Could not load NIB in bundle: 'NSBundle解决办法
检查你的nib名字是否拼写错误 一般为这个问题[[XXX alloc] initWithNibName:@"这个Nib拼写错误会出现那个问题" bundle: nil]原创 2014-11-07 20:41:41 · 1160 阅读 · 0 评论 -
设置tableViewCell之间的间距
UIView *view = [[UIView alloc initWithFrame:CGRectMake(0, 0, 320, 10)]; view.backgroundColor = [UIColor colorWithRed:74.0/255 green:56.0/255 blue:58.0/255 alpha:1.0]; [cell.contentView addSubview:vi转载 2014-11-07 22:32:05 · 973 阅读 · 0 评论 -
Xcode和 iOS Simulator 下载
如果你嫌在App Store下载Xcode太慢的话,你也可以选择从网络上下载:Xcode下载Xcode 6.1 正式版:http://pan.baidu.com/s/1dDtOkJv这个应该就是6.1的正式版了,支持Yosemite和Mavericks,包含iOS 8.1、OS X 10.10 、OS X 10.9的SDK,其中对Swift的语法和一些方法又有一转载 2014-11-13 16:29:48 · 1248 阅读 · 0 评论 -
OC入门笔记
1.OC类.h文件 类、函数的生命 @interface @end.m文件 类的具体实现 @implementation @end2.创建OC对象Dog *dog=[Dog alloc]; alloc=new初始化构造函数[dog init];销毁[dog release];3.类中字段和函数@interface Dog:NSObje转载 2014-10-30 21:38:06 · 366 阅读 · 0 评论