会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
幻想无极
github: https://github.com/WuJiForFantasy oschina:https://git.oschina.net/
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
11
12
13
14
15
16
17
18
19
···
22
下一页
2015年7月7日
swift-网络请求
摘要: 跟着网上大神写了个,还有待提高啊:http://pan.baidu.com/s/1sjC5Pl7
阅读全文
posted @ 2015-07-07 12:24 幻想无极
阅读(174)
评论(0)
推荐(0)
2015年7月6日
swift-UITableView
摘要: 自定义一个控制器 CustomViewControllerAppDelegate(不用导入头文件很方便)funcapplication(application:UIApplication,didFinishLaunchingWithOptionslaunchOptions:[NSObject:An...
阅读全文
posted @ 2015-07-06 16:37 幻想无极
阅读(584)
评论(0)
推荐(0)
swift函数和初始化控件(// MARK:分割线)
摘要: importUIKitclassViewController:UIViewController{overridefuncviewDidLoad(){super.viewDidLoad()self.initView()}overridefuncdidReceiveMemoryWarning(){sup...
阅读全文
posted @ 2015-07-06 12:31 幻想无极
阅读(487)
评论(0)
推荐(0)
NSArray block用法
摘要: 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 幻想无极
阅读(741)
评论(0)
推荐(0)
2015年7月1日
Be JSON (Just Make JSON Easy!) 什么是JSON
摘要: http://www.bejson.com/
阅读全文
posted @ 2015-07-01 11:21 幻想无极
阅读(329)
评论(0)
推荐(0)
2015年6月30日
swift循环
摘要: forindexin0..<2{println("\(index)")}forindexin0...2{println("\(index)")}vararr=["hah","xixi"]forvalueinarr{println("value:\(value)")}vari=0whilei<arr...
阅读全文
posted @ 2015-06-30 12:22 幻想无极
阅读(127)
评论(0)
推荐(0)
swift学习网站
摘要: 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 幻想无极
阅读(268)
评论(0)
推荐(0)
利用正则表达式解析URL
摘要: -(NSString*)jiexi:(NSString*)CSwebaddress:(NSString*)webaddress{NSError*error;NSString*regTags=[[NSStringalloc]initWithFormat:@"(^|&|\\?)+%@=+([^&]*)...
阅读全文
posted @ 2015-06-30 11:08 幻想无极
阅读(833)
评论(0)
推荐(0)
2015年6月29日
水果瀑布流布局
摘要: demo链接:http://pan.baidu.com/s/1bnAVYcJ参考http://www.cnblogs.com/wayne23/p/4013522.html效果图:
阅读全文
posted @ 2015-06-29 15:40 幻想无极
阅读(257)
评论(0)
推荐(0)
2015年6月26日
iOS文件操作
摘要: //找到Documents文件所在的路径NSArray*path=NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask,YES);//取得第一个Documents文件夹的路径NSString*filePath...
阅读全文
posted @ 2015-06-26 17:44 幻想无极
阅读(169)
评论(0)
推荐(0)
上一页
1
···
11
12
13
14
15
16
17
18
19
···
22
下一页
公告