摘要: donateExcontent.numberOfLines = 0; donateExcontent.lineBreakMode = NSLineBreakByWordWrapping; donateExcontent.text = @"尊敬的爱心捐助者:\n 我们只是需要您的相关捐助信息和您的个人 阅读全文
posted @ 2016-01-06 13:56 zhen_zhen 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 转载: 在Xcode6之前,创建一个新工程xcode会在Supporting files文件夹下面自动创建一个“工程名-Prefix.pch”文件,也是一个头文件,pch头文件的内容能被项目中的其他所有源文件共享和访问。是一个预编译文件。首先说一下pch的作用:1.存放一些全局的宏(整个项目中都... 阅读全文
posted @ 2016-01-06 10:14 zhen_zhen 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 王帅:-(void)textFieldDidEndEditing:(UITextField *)textField{ [self.contactField resignFirstResponder]; if (_contactField == textField) { // NSS... 阅读全文
posted @ 2016-01-05 17:56 zhen_zhen 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 流行的解决方案是在大多数地方是用[NSUserDefaults standardUserDefaults的一个关键,如果它不存在,这意味着这是应用程序启动,否则,它不是第一次在appdelegate.m中找到 “application:didFinishLaunchingWithOptions:” ... 阅读全文
posted @ 2016-01-05 17:48 zhen_zhen 阅读(489) 评论(0) 推荐(0) 编辑
摘要: - (void)viewDidLoad { [super viewDidLoad]; [self DocNavbar]; [self Rightaddview]; [self Downrefresh]; self.view.backgroundColor = [UIColor whiteColor] 阅读全文
posted @ 2016-01-05 16:48 zhen_zhen 阅读(220) 评论(0) 推荐(0) 编辑
摘要: // // MyDocViewController_zhen.m // Patient // // Created by wangjian on 15/12/4. // Copyright © 2015年 ShangYu. All rights reserved. // #import "MyDoc 阅读全文
posted @ 2016-01-05 16:47 zhen_zhen 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 1: //1.创建数据库 指定数据库的路径 一次 NSString *path = [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)lastObject]stringByAppend... 阅读全文
posted @ 2016-01-05 16:45 zhen_zhen 阅读(146) 评论(0) 推荐(0) 编辑
摘要: // // SearchDocviewcontroller.m // Patient // // Created by gzz on 15/9/21. // Copyright (c) 2015年 ShangYu. All rights reserved. // #import "SearchDoc 阅读全文
posted @ 2016-01-05 16:43 zhen_zhen 阅读(144) 评论(0) 推荐(0) 编辑
摘要: // // 删除语句 删除表中所有数据 // NSString * delete=@"delete from t_DocDetail"; // BOOL dflag= [_dataBaseDoc executeUpdate:delete]; // if(dflag){ // NSLog(@"删除成功 阅读全文
posted @ 2016-01-05 15:21 zhen_zhen 阅读(153) 评论(1) 推荐(0) 编辑
摘要: birthDate = "<null>"; callIsEnable = 1; certificate = "<null>"; certificateImg = "<null>"; checkInfo = "<null>"; cityId = 2; clinicIsEnable = 1; count 阅读全文
posted @ 2016-01-04 18:09 zhen_zhen 阅读(141) 评论(0) 推荐(0) 编辑