iOS
文章平均质量分 70
ZhC1024
iOS
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
UITextView的使用详解
//初始化并定义大小 UITextView *textview = [[UITextView alloc] initWithFrame:CGRectMake(20, 10, 280, 30)]; textview.backgroundColor=[UIColor whiteColor]; //背景色 textview.scrollEnabled = NO;转载 2015-11-06 10:16:06 · 474 阅读 · 0 评论 -
IOS NSString 字符串处理:截取字符串、匹配字符串、分隔字符串
1.截取字符串 NSString*string =@"sdfsfsfsAdfsdf"; string = [string substringToIndex:7];//截取下标7之前的字符串 NSLog(@"截取的值为:%@",string); [string substringFromIndex:2];//截取下标2之后的字符串 NSLog(@"截取的值为:%@",string);转载 2016-04-14 16:23:08 · 620 阅读 · 0 评论 -
CGD应用
// 下载网页的功能// 原代码块一self.indicator.hidden = NO;[self.indicator startAnimating];dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ // 原代码块二 NSURL * url = [NSURL URLWit转载 2016-06-15 20:36:50 · 518 阅读 · 0 评论 -
React Native学习的第一天
首先配置开发环境 http://reactnative.cn/docs/0.42/tutorial.html#content,写编写hello world 的时候遇到'React/RCTBridgeModule.h' file not found解决方法在项目文件夹下先 $ npm install 然后更新 $ react-native upgrade原创 2017-04-05 16:24:13 · 557 阅读 · 0 评论
分享