- 博客(9)
- 资源 (4)
- 收藏
- 关注
原创 安装vc6出现couldn't find acme setup的解决办法
安装文件的目录层次太深,将安装文件目录改为磁盘根目录以缩短目录层次即可。。。囧rz(WIN8下测试有效)
2013-03-26 23:12:37 6302 1
转载 objective-c宏定义
1、先来几个常用的:01// 是否高清屏02 #define isRetina ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(640, 960), [[
2013-03-17 11:06:44 1474
转载 The entitlements specified in your application’s Code Signing Entitlements file do not match those
最近开发iPhone程序,获得开发签名后在真机器上部署测试,在点击Build And Run后,提示The executable was signed with invalid entitlements.(The entitlements specified in your application’s Code Signing Entitlements file do not match thos
2013-03-16 23:00:40 6265
原创 静态库调用问题汇总
程序运行时调用静态库中函数出现:unrecognized selector sent to instance原因:将生成的simulator版本的静态库导入到工程中进行链接,囧rz解决方法:在Edit Scheme中将Destination设置为iOS设备程序编译时出现:Undefined symbols for architecture armv7原因:静态库中有导入
2013-03-16 19:03:14 1485
原创 iOS相关目录整理备忘
iOS模拟器目录:Users/your_user_name/Library/Application Support/iPhone Simulator/iOS_version/
2013-03-12 21:27:12 1031
转载 XCode环境变量及路径设置
一般我们在xcode里面配置包含工程目录下头文件的时候,都要关联着相对路径和绝对路径,如果只是自己用这个项目,用绝对路径的问题不大,但是如果你把工程发给别人,别人就要在改这个绝对路径,这时候绝对路径的缺点立马出现。所以在修改User Header Search Paths这个选项的时候使用"$(SRCROOT)/当前工程名字/需要包含头文件所在文件夹"将上面的双引号里面的字符串拷贝
2013-03-11 12:30:29 138024 3
转载 关于颜色的整形表示
0xffff00ff是int类型的数据,分组一下0x|ff|ff00ff,0x是代表颜色整数的标记,ff是表示透明度,ff00ff表示颜色,注意:这里ffff00ff必须是8个的颜色表示,不接受ff00ff这种6个的颜色表示。名称背景数值背景颜色名称中文名称十六进制RGB十进制RGB粗细字体配色参考
2013-03-08 16:37:20 2355
原创 Tried to obtain the web lock from a thread other than the main thread or the web thread. This may be
Tried to obtain the web lock from a thread other than the main thread or the web thread. This may be a result of calling to UIKit from a secondary thread.原因:在子线程中对UI进行了操作。NSDate *startTime = [
2013-03-03 13:36:56 2561
原创 setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key
其中一个变量或属性(variable 或 property)已经和一个nib或storyboard文件进行了连接,但是后来在Xcode 开发环境,将该 变量或属性名进行了更改。如 UILabel *label; 更改为 UILabel *newLabel; 这个时候编译或运行App,将出现类似前面的异常信息。如何解决这一问题呢?你需要解除或删除之前连接了连接(connectio
2013-03-02 13:59:40 9632 1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人