05 2012 档案

摘要:#import "LocationsAppDelegate.h"#import "RootViewController.h" @implementation LocationsAppDelegate@synthesize window;@synthesize navigationController; -(void)initLocationManager { #1 if (locationManager == nil) { locationManager = [[CLLocationManager alloc] init... 阅读全文
posted @ 2012-05-23 10:52 KID 阅读(870) 评论(0) 推荐(0) 编辑
摘要:Xcode4中使用静态库1. 创建一个工作区:".xcworkspace"2. 将项目添加到工作区(新建/添加现有项目)3. 向应用程序target添加静态库,从Workspace4. 打开 “Build Settings” 标签,设置 “User Header Search Paths” 项的值为“$(BUILT_PRODUCTS_DIR)”,并选中“Recursive”框5. 设置“Other Linker Flags”项的值为“-ObjC”6. 打开scheme,设置build顺序,将静态库添加进来,并放在程序前面7. 从静态库项目中拖动公共头文件到应用程序项目,这些 阅读全文
posted @ 2012-05-17 10:04 KID 阅读(6798) 评论(1) 推荐(1) 编辑

点击右上角即可分享
微信分享提示