摘要: http://blog.csdn.net/xdrt81y/article/details/24331103口诀: 1浅3深NSArray copy (浅) 返回NSArrayNSArray mutableCopy(深) NSMutableArrayNSMutableArray copy(深) 返... 阅读全文
posted @ 2014-09-19 16:28 apem 阅读(273) 评论(0) 推荐(0)
摘要: http://www.itjhwd.com/iosmolukaifa/目录结构个人总结:=================================================================================================ModelsSec... 阅读全文
posted @ 2014-09-19 11:21 apem 阅读(200) 评论(0) 推荐(0)
摘要: http://blog.sina.com.cn/s/blog_7b9d64af01019x3t.html总结: UITableViewDelegate row: heightForRow header: heightForHeader viewForHeader ... 阅读全文
posted @ 2014-09-17 16:22 apem 阅读(250) 评论(0) 推荐(0)
摘要: //定义一个blocks变int (^myblocks2) (int a, int b) = ^(int a, int b) { int c = a + b; return c; }; //向外暴露一个接口-(void) setBark:( void (^) (Dog *thisDog, int... 阅读全文
posted @ 2014-09-11 18:47 apem 阅读(152) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/smileEvday/archive/2012/06/28/tableView.htmlUITableView学习笔记 作者:一片枫叶 看TableView的资料其实已经蛮久了,一直想写点... 阅读全文
posted @ 2014-09-11 18:26 apem 阅读(165) 评论(0) 推荐(0)
摘要: iPhone socket 编程之BSD Socket篇 收藏在进行iPhone网络通讯程序的开发中,不可避免的要利用Socket套接字。iPhone提供了Socket网络编程的接口CFSocket,不过笔者更喜欢使用BSD Socket。(IBAction)calculaeTip:(id)send... 阅读全文
posted @ 2014-09-11 17:32 apem 阅读(237) 评论(0) 推荐(0)
摘要: http://blog.sina.com.cn/s/blog_7a2f0a830101ecv4.htmlclinetSocket 1、viewcontroller.h@interface ViewController : UIViewControllerGCDAsyncSocketDelegate,... 阅读全文
posted @ 2014-09-11 16:42 apem 阅读(1072) 评论(0) 推荐(0)
摘要: 百度地图api 官方教程:http://developer.baidu.com/map/index.php?title=iossdk这个非常好, 很适合新手CLLocationCoordinate 经纬度 BMKMapManager 地图驱动 BMKMapView 地图viewBMKPoin... 阅读全文
posted @ 2014-09-10 14:22 apem 阅读(194) 评论(0) 推荐(0)
摘要: 原创:自从ios5以后, apple官方引进了ARC (automaically reference count 自动索引计数) 这个新特性,简单的说就是对象设置为nil(空引用)之后, 当自动索引计数为0之后, 系统将自动回收这个对象的内存。在ios5之前,apple官方使用的内存回收机制是aut... 阅读全文
posted @ 2014-09-05 10:26 apem 阅读(184) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/xiechengfa/article/details/37971223自从用上了真苹果,一直升级,现在xcode版本是4.4,或者说是ios5一直有个问题,就是在release或者autorelease或者NSAutoreleasePool都报错原来是ios... 阅读全文
posted @ 2014-09-03 22:00 apem 阅读(220) 评论(0) 推荐(0)