子曾经曰过

  博客园  :: 首页  ::  ::  ::  :: 管理
上一页 1 2 3 4 5 6 7 ··· 9 下一页

2012年6月6日

摘要: <Application_Home>/AppName.app:存放应用程序自身<Application_Home>/Documents/:存放用户文档和应用数据文件<Application_Home>/Library/:应用程序规范的顶级目录,下面有一些规范定义的的子目录,当然也可以自定义子目录,用于存放应用的文件,但是不宜存放用户数据文件<Application_Home>/Library/Preferences,这里存放程序规范要求的首选项文件<Application_Home>/Library/Caches,保存应用的持久化数据 阅读全文
posted @ 2012-06-06 17:32 人的本质是什么? 阅读(1586) 评论(0) 推荐(0) 编辑

摘要: //创建目录 NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsDir = [paths objectAtIndex:0]; NSFileManager *filemanager = [NSFileManager defaultManager]; NSString *newDir = [documentsDir stringByAppendingPathComponent:@"newdir... 阅读全文
posted @ 2012-06-06 17:28 人的本质是什么? 阅读(445) 评论(0) 推荐(0) 编辑

摘要: http://www.cnblogs.com/zhuqil/archive/2011/07/30/2122019.html 阅读全文
posted @ 2012-06-06 10:23 人的本质是什么? 阅读(111) 评论(0) 推荐(0) 编辑

摘要: /*****************************************每个ios程序都有一个这样的目录DocumentsLibrarytmp****************************************//***找到app的沙箱目录**/ NSArray *path = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsDirectory = [path objectAtIndex:0]; //path数组里貌.. 阅读全文
posted @ 2012-06-06 10:22 人的本质是什么? 阅读(233) 评论(0) 推荐(0) 编辑

2012年6月5日

摘要: 类库http://www.weeet.com/html/mobile/iso/20120523/23028.htmluitableview使用http://www.iphonesdkarticles.com/2009/01/uitableview-creating-simple-table-view.htmlNSDictionaryhttps://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/nsdictionary_Class/Reference/Reference.html 阅读全文
posted @ 2012-06-05 17:42 人的本质是什么? 阅读(157) 评论(0) 推荐(0) 编辑

2012年6月4日

摘要: 1:h头文件里@interface ViewController : UIViewController<UITextViewDelegate>继承接口UITextViewDelegatetextviewarea.delegate = self;-(BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString*)text //按return键隐藏虚拟键盘{ if ([text isEqualToString:@"\n"]) 阅读全文
posted @ 2012-06-04 17:53 人的本质是什么? 阅读(508) 评论(0) 推荐(0) 编辑

2012年5月31日

摘要: //手工添加按钮以及为按钮添加addTarget目标动作关联开始 CGRect frame = CGRectMake(10.0f, 10.0f, 120.0f, 50.0f); UIButton *button = [UIButtonbuttonWithType:UIButtonTypeRoundedRect]; button.frame = frame; [button setTitle:@"title"forState:UIControlStateNormal]; button.backgroundColor = [UIColorclearColor]; button. 阅读全文
posted @ 2012-05-31 15:30 人的本质是什么? 阅读(1557) 评论(0) 推荐(0) 编辑

2012年5月26日

摘要: 1:基本1.1 用xcode创建一个简单的ios app1.2 了解interface builder(IB)1.3 编译 ios apps1.4 在模拟器上运行ios apps1.5 在ios 设备上运行ios apps1.6 将ios apps打包为distribution1.7 在objective-c中声明变量1.8 在objective-c中用if statement 判断值是否相等1.9 用for 语句做循环1.10 while 循环1.11 创建一个普通类1.12 为类定义函数1.13 用同一个名字定义两个或多个方法1.14 为对象分配空间和初始化1.15 为类添加属性1.16 阅读全文
posted @ 2012-05-26 00:18 人的本质是什么? 阅读(324) 评论(0) 推荐(0) 编辑

2012年5月18日

摘要: http://www.cnblogs.com/dotey/archive/2011/06/09/2075954.html 系列http://blog.csdn.net/duanyipeng/article/details/7255990 系列系列指这个人写的这篇文章的前后相关等文章都很不错。http://easymorse-iphone.googlecode.com/svn/trunk/好例子http://www.codeios.com/thread-158-1-1.htmlhttp://mmz06.blog.163.com/blog/static/1214169620115161117194 阅读全文
posted @ 2012-05-18 15:53 人的本质是什么? 阅读(449) 评论(0) 推荐(0) 编辑

2012年5月17日

摘要: //// main.m// HelloWorld//// Created by Erica Sadun on 4/24/09.// Copyright __MyCompanyName__ 2009. All rights reserved./** xcode4.3引入ARC,release这块就有些变化,当你使用ARC,就必须将NSAutoreleasePool的地方换成 @autoreleasepool 关于NSAutoreleasePool的解释官方的最清楚 Important If you use Automatic Reference Counting (ARC), you c... 阅读全文
posted @ 2012-05-17 15:36 人的本质是什么? 阅读(3260) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 9 下一页