摘要: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; self.window.backgroundColor = [UIColor whiteColor]; //生成各个视图控制器 MedicalData* aa = [[MedicalData... 阅读全文
posted @ 2012-03-05 15:45 凡娃软件 阅读(437) 评论(0) 推荐(0) 编辑
摘要: //创建文件-(void)CreateFile:(NSString*)path fileName:(NSString*)filename{ //创建文件管理器 NSFileManager *fileManager = [NSFileManager defaultManager]; //更改到待操作的目录下 [fileManager changeCurrentDirectoryPath:[path stringByExpandingTildeInPath]]; //创建文件fileName文件名称,contents文件的内容,如果开始没有内容可以设置为nil,attributes文... 阅读全文
posted @ 2012-03-05 10:56 凡娃软件 阅读(354) 评论(0) 推荐(0) 编辑