- 博客(16)
- 收藏
- 关注
原创 Objective-C 类
类扩展 * 扩展私有变量 * 扩展变量的属性类扩散 * @interface NSWindow(NSKeyboardUI)
2015-03-23 18:05:42
318
原创 Objective-C 变量属性
变量属性 assign retain copy nonatomic ->提升多线程 下 访问变量方法的速度默认使用 nonatomic assign
2015-03-23 18:02:22
223
原创 xcode 实用快捷键
xcode 快捷键:看h/m 文件 command + control + up/down 看前后的文件 command + control + left/right 打开文件 command + o
2015-03-23 18:00:50
268
转载 ios MKNetworkKit 的使用
MKNetworkKit下载: gitHub地址:https://github.com/MugunthKumar/MKNetworkKit.git 官方使用说明:http://blog.mugunthkumar.com/products/ios-framework-introducing-mknetworkkit/ github下载了该项目后,如果想运行其demo,一定要打开MKNetwor
2015-03-22 16:19:20
265
转载 iOS 反射获取 类属性列表
#iOS 反射获取 类属性列表必须加入runtime 头文件import <objc/runtime.h> unsigned int outCount, i; objc_property_t *properties = class_copyPropertyList([PremiumCalculateItemKindFee class], &outCount); for
2015-03-22 12:58:05
328
转载 GCC,LLVM,Clang编译器对比
在XCode中,我们经常会看到这些编译选项(如下图),有些人可能会有些茫然,本文将对GCC4.2、LLVM GCC 4.2、LLVM compliler 2.0三个编译选项进行一个详细的介绍。 GCC GCC(GNU Compiler Collection,GNU编译器套装),是一套由 GNU 开发的编程语言编译器。它是一套以 GPL 及 LGPL 许可证所发
2015-03-20 14:13:49
343
转载 IOS中XML解析之libxml2
IOS SDK自带的XML解析库 libxml2使用方法如下:准备工作:1、Xcode4.3.2,新建测试应用libxmltest。2、把libxml包添加到项目中去。 3、PROJECT=>Build Setting => Searche Paths=>Header Search Paths:把这个拷贝进去${SDKROOT}/usr/include/libxml2。
2015-02-16 01:01:40
442
转载 NSString常用属性和用法
//创建一个字符串对象 NSString *str1 = @"www.hello.txt"; NSLog(@"%@",str1); //用格式化字符串初始化 int a = 123; NSString *str2 =[[NSString alloc]initWithFormat:@"%d %@",a,str1
2015-02-15 20:52:24
258
原创 UILabel 的各种属性和方法的应用
总结平时UILabel 的各种属性和方法的应用初始化/位置大小 UILabel *label1 = [[UILabel alloc]initWithFrame:CGRectMake(50.0, 20.0, 200.0, 50.0)]; //设置显示文字 label1.text = @"label1"; //设置字
2015-02-15 18:37:55
290
原创 iphone 与 ipad 分辨率
iPhone4:960×640iPhone4S:960×640iPhone5:1136×640iPhone5S:1136×640iPad:1024×768iPad2:1024×768iPad3:2048×1536iPad4:2048×1536iPad mini:1024×768
2015-02-15 10:34:44
323
原创 apache 简单应用
zaIf you are the website administrator:You may now add content to the directory /var/www/html/. Note that until you do so, people visiting your website will see this page and not your content. To
2014-11-25 01:39:48
549
原创 Drupal 初始配置 与 升级
关于Drupal 初始配置:1.File system The directory sites/default/files does not exist. An automated attempt to create this directory failed, possibly due to a permissions problem. T
2014-11-25 01:35:00
584
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人