【转】iOS中FMDB的使用
摘要:前言http://blog.devtang.com/blog/2012/04/22/use-fmdb/SQLite (http://www.sqlite.org/docs.html) 是一个轻量级的关系数据库。iOS SDK很早就支持了SQLite,在使用时,只需要加入 libsqlite3.dyl...
阅读全文
posted @
2014-04-16 17:44
无涯之径
阅读(190)
推荐(0)
【转】iOS中几种json的解析方式
摘要:作为一种轻量级的数据交换格式,json正在逐步取代xml,成为网络数据的通用格式。有的json代码格式比较混乱,可以使用此“http://www.bejson.com/”网站来进行JSON格式化校验(点击打开链接)。此网站不仅可以检测Json代码中的错误,而且可以以视图形式显示json中的数据内容,...
阅读全文
posted @
2014-04-16 16:57
无涯之径
阅读(200)
推荐(0)
【转】NSURLRequest的使用
摘要://Createtherequest.//所构建的NSURLRequest具有一个依赖于缓存响应的特定策略,cachePolicy取得策略,timeoutInterval取得超时值NSURLRequest*theRequest=[NSURLRequestrequestWithURL:[NSURLUR...
阅读全文
posted @
2014-04-16 15:38
无涯之径
阅读(374)
推荐(0)
【转】ASIHTTPRequest 请求
摘要:ASIHTTPRequest 详解, http 请求终结者安装说明:http://allseeing-i.com/ASIHTTPRequest/Setup-instructions英文版原文地址:http://allseeing-i.com/ASIHTTPRequest/How-to-use转至元数...
阅读全文
posted @
2014-04-15 17:32
无涯之径
阅读(119)
推荐(0)
【转】iOS网络请求
摘要:1、creating requestsrequest分为同步和异步两种。不同之处在于开始request的函数:[request startSynchronous];[request startAsynchronous];其中,异步的request构造方式如下:- (void) grabURLs{NS...
阅读全文
posted @
2014-04-15 13:22
无涯之径
阅读(216)
推荐(0)
tableVIewCell 的accessoryType的使用
摘要:转载自:http://blog.csdn.net/kmyhy/article/details/6442351使用的话,例如:[cpp]view plaincopycell.accessoryType=UITableViewCellAccessoryNone;//cell没有任何的样式cell.accessoryType=UITableViewCellAccessoryDisclosureIndicator;//cell的右边有一个小箭头,距离右边有十几像素;cell.accessoryType=UITableViewCellAccessoryDetailDisclosureButton;//c
阅读全文
posted @
2014-04-09 10:35
无涯之径
阅读(607)
推荐(0)