上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 22 下一页
摘要: 跟着网上大神写了个,还有待提高啊:http://pan.baidu.com/s/1sjC5Pl7 阅读全文
posted @ 2015-07-07 12:24 幻想无极 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 自定义一个控制器 CustomViewControllerAppDelegate(不用导入头文件很方便)funcapplication(application:UIApplication,didFinishLaunchingWithOptionslaunchOptions:[NSObject:An... 阅读全文
posted @ 2015-07-06 16:37 幻想无极 阅读(576) 评论(0) 推荐(0) 编辑
摘要: importUIKitclassViewController:UIViewController{overridefuncviewDidLoad(){super.viewDidLoad()self.initView()}overridefuncdidReceiveMemoryWarning(){sup... 阅读全文
posted @ 2015-07-06 12:31 幻想无极 阅读(482) 评论(0) 推荐(0) 编辑
摘要: 28、使用block 块遍历整个数组。这个block 需要三个参数,id obj 表示数组中的元素。NSUInteger idx 标示元素的下标,bool *stop 是一个bool类型的参数。 官方描述如下:A reference to a Boolean value. The block can... 阅读全文
posted @ 2015-07-06 09:56 幻想无极 阅读(730) 评论(0) 推荐(0) 编辑
摘要: http://www.bejson.com/ 阅读全文
posted @ 2015-07-01 11:21 幻想无极 阅读(314) 评论(0) 推荐(0) 编辑
摘要: forindexin0..<2{println("\(index)")}forindexin0...2{println("\(index)")}vararr=["hah","xixi"]forvalueinarr{println("value:\(value)")}vari=0whilei<arr... 阅读全文
posted @ 2015-06-30 12:22 幻想无极 阅读(119) 评论(0) 推荐(0) 编辑
摘要: http://letsswift.com/category/swiftguide/http://www.imooc.com/course/list?is_easy=3&c=ioshttp://www.swiftv.cn/http://open.163.com/special/opencourse/i... 阅读全文
posted @ 2015-06-30 11:25 幻想无极 阅读(256) 评论(0) 推荐(0) 编辑
摘要: -(NSString*)jiexi:(NSString*)CSwebaddress:(NSString*)webaddress{NSError*error;NSString*regTags=[[NSStringalloc]initWithFormat:@"(^|&|\\?)+%@=+([^&]*)... 阅读全文
posted @ 2015-06-30 11:08 幻想无极 阅读(820) 评论(0) 推荐(0) 编辑
摘要: demo链接:http://pan.baidu.com/s/1bnAVYcJ参考http://www.cnblogs.com/wayne23/p/4013522.html效果图: 阅读全文
posted @ 2015-06-29 15:40 幻想无极 阅读(248) 评论(0) 推荐(0) 编辑
摘要: //找到Documents文件所在的路径NSArray*path=NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask,YES);//取得第一个Documents文件夹的路径NSString*filePath... 阅读全文
posted @ 2015-06-26 17:44 幻想无极 阅读(166) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 22 下一页