- 博客(4)
- 收藏
- 关注
转载 [转载]iPhone 之内存管理机制
此文涉及的内存管理是针对于继承于NSObject的Class。一 基本原理Objective-C的内存管理机制与.Net/Java那种全自动的垃圾回收机制是不同的,它本质上还是C语言中的手动管理方式,只不过稍微加了一些自动方法。1 Objective-C的对象生成于堆之上,生成之后,需要一个指针来指向它。ClassA *obj1 = [[Clas
2015-01-28 07:52:30 694
转载 Memory Management in iOS
IntroductionMemory management in iOS was initially non ARC(Automatic reference counting) where we have to retain and release the objects. Now it supports ARC where we don't need to add retain and
2015-01-28 07:48:09 385
原创 Different sizes of iPhone
Following are the sizes of different types of iPhone:
2015-01-28 01:42:36 508 1
原创 Implementation navigationController in Xcode 6.1
iOS6.1中的使用navigationController,不能在ViewController里面赋给rootController,需要在appDelegate中重写window。
2015-01-21 19:21:00 458 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人