Managing Memory in Objective-C

271
3756 reads

March 8, 2013

Memory2


Program to show how allocation and deallocation of object memory happens in program by using "retain" and "release" count.

323
3344 reads

March 8, 2013

Retain Count


Program to show use of retain count, which holds the track on allocated and deallocated object.

292
3889 reads

March 8, 2013

Pool


Program to release memory by using AutoreleasePool.

145
2250 reads

March 8, 2013

Memory


Program to show how to deallocate memory which is occupied by class object.

386
4953 reads

March 8, 2013

Increment Count


Program which retains count of object by initializing a object and increment it by using "retain" keyword.

45
1061 reads

March 8, 2013

Decrement Count


Program to show how to decrement retain count by using "release" keyword.

104
1212 reads

March 8, 2013

Create Object


Program to allocate memory by creating object of class.