摘要:
NSFileManager文件操作:-(NSData*) contentsAtPath: path从一个文件中读取数据-(bool)createFileAtPath:path contents:(NSData *)data attributes:attr创建一个文件并写入数据-(BOOL) remo... 阅读全文
posted @ 2014-08-07 10:01
ZiCheng
阅读(256)
评论(0)
推荐(0)
摘要:
【UIKit】AppDelegate:在应用程序启动完毕后调用(只会调用一次,第一次打开程序的时候才会调用)// 视图加载完成,应用程序加载到内存后调用的方法- (BOOL)application:(UIApplication *)application didFinishLaunchingWith... 阅读全文
posted @ 2014-08-07 09:41
ZiCheng
阅读(223)
评论(0)
推荐(0)
摘要:
【UITableView】: 阅读全文
posted @ 2014-08-07 09:16
ZiCheng
阅读(163)
评论(0)
推荐(0)
摘要:
【自定义Cell2】.全部通过代码添加:【1】:设置Cell 1):创建一个MsgCell类 继承UITableViewCell .h中声明2个属性一个是用户头像,另外一个是发表的文字@property (nonatomic,weak,readonly) UIImageView *iconVie... 阅读全文
posted @ 2014-08-07 09:12
ZiCheng
阅读(157)
评论(0)
推荐(0)
摘要:
#pragma mark - 解决iOS7状态栏问题- (void)viewWillAppear:(BOOL)animated{ // 注意点:自定义布局方法必须放在隐藏或显示导航栏(如果有的话)这句话后面,不然会乱; self.navigationController.navigati... 阅读全文
posted @ 2014-08-07 08:58
ZiCheng
阅读(263)
评论(0)
推荐(0)
摘要:
【Tabbar】【下面的tab栏】【第一步】:创建一个Tabbed Application 【第二步】:加入图片素材。【第三步】:创建3个有xib的类文件FirstViewController,SecondViewController,ThirdViewController。 【第四... 阅读全文
posted @ 2014-08-07 08:54
ZiCheng
阅读(321)
评论(0)
推荐(0)
浙公网安备 33010602011771号