Posts

Showing posts from April, 2017

Memory Management in Objective-C

Image
Note: This article was written a very long back in the period of Xcode 6. Any application that runs on a device needs some sort of space in memory(RAM) during runtime in order to store any necessary data to be displayed or handled in the app. Any program that runs on the device needs to manage their memory based on the system resources(RAM Memory) by controlling or managing the lifetime of all the objects created for the app. iOS Applications does this through a process called 'Object Life Cycle Management' Or Otherwise called as 'Object Ownership'. This Ownership scheme is handled through a 'Reference Counting' mechanism, which uses a tracking mechanism internally to detect the number of owners for each object. Reference Counting Rules: Reference Count = 1, when an object is created and the Creator is the owner here. Reference Count +1, whenever a new owner is added. Reference Count -1, whenever an owner releases its reference.

Linking my Imaginea profile here

My profile on the Imaginea blogger has the following posts which are based upon the libraries that i developed for the Fontli app: SparkButton PlainLoaderView