码迷,mamicode.com
首页 >  
搜索关键字:ios 自定义cell 代码自定义    ( 56139个结果
ios开发笔记----exc_bad_access(code=1, address=0x789870)野指针错误,假死debug状态
错误原因: exc_bad_access(code=1, address=0x789870)野指针错误,主要的原因是,当某个对象被完全释放,也就是retainCount,引用计数为0后。再去通过该对象去调用其它的方法就会出现野指针错误。 例如: Person *jerry = [[Person alloc]init];  //  retainCount引用计数为1 [jerry eat];...
分类:移动开发   时间:2014-07-22 23:05:16    阅读次数:372
如何在iOS中使用libxml
本篇文章简单介绍如何在iOS中使用libxml Mac OS版本:10.8.2 XCode版本:4.5.1 1. 选择xcode工程设定 2. 选择target 3. 选择Summary 4. 拉到Linked Frameworks and Libraries的地方,按下+按键 输入libxml并选择libxml2,按下Add按键 ...
分类:移动开发   时间:2014-07-22 23:05:14    阅读次数:519
iOS 基础类解析 - NSString
iOS 基础类解析 - NSString...
分类:移动开发   时间:2014-07-22 23:01:34    阅读次数:553
ios之应用程序启动图片
分类:移动开发   时间:2014-05-02 00:30:53    阅读次数:293
IOS 设置Launch image停留时间
- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. [NSThread sleepForTimeInte...
分类:移动开发   时间:2014-05-02 00:25:42    阅读次数:441
iOS国际化时遇到的错误:read failed: the data couldn't be read because it isn't in the correct format.
其实这个错误很简单,就是当我们在国际化的时候,写key,写着写着就忘了加 ";" 所以查看一下自己的Localization文件就可以了...
分类:移动开发   时间:2014-05-01 08:43:53    阅读次数:660
Xcode 5.1安装插件:规范注释生成器VVDocumenter
类似java的多行注释! 安装过程: 1.前往GitHub下载工程文件:VVDocumenter-Xcode 2.用Xcode打开工程,Command + B Build成功后,可以在~/Library/Application Support/Developer/Shared/Xcode/Plug-ins目录下看到生成的xcplugin文件: ...
分类:其他好文   时间:2014-04-30 22:46:38    阅读次数:304
史上最坑的证书报错解决方法:Code=3000 "未找到应用程序的“aps-environment”的权利字符串"
在ios注册远程通知获取设备令牌token的时候 //注册远程通知获取设备令牌toKen     [[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemo...
分类:其他好文   时间:2014-04-30 22:45:40    阅读次数:288
iOS开发中访问相册摄像像头
iOS开发中访问相册摄像像头 源码下载地址http://download.csdn.net/detail/jingjingxujiayou/7270479 在AppDelegate.m文件中 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launch...
分类:移动开发   时间:2014-04-30 22:27:38    阅读次数:497
当rootViewController为tabbarController时,控制屏幕旋转的方法
在ios6以后,ios系统改变了屏幕旋转的方法,如果要设置屏幕旋转的方法,需要在rootvc里面进行编写,例如 UIViewController *viewCtrl = [[UIViewController alloc] init]; UINavigationController *navCtrl = [[UINavigationController alloc] initWithRoot...
分类:其他好文   时间:2014-04-30 22:24:39    阅读次数:254
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!