Monday, 17 October 2011

Foundation Framework in iOS (iPhone/iPad)


Foundation Framework in iOS

                                Foundation framework defines base layer of the objective C classes.

 The goal of the Foundation framework is

     - Object creation and  deallocation

     - Supports Unicode strings, object persistence, and object distribution

     - Basic utility classes like NSData , NSDate , NSString etc.

     - OS independent to provide portability

NSObject is the base class for all classes in objective C. Foundation Framework classes functionalities are

  • Object creation and deallocation(NSAutoReleasePool)
  • Data storage(NSData,NSString)
  • Text and strings(NSCharacterSet,NSScanner)
  • Dates and times(NSDate, NSTimeZone, NSCalendar, NSLocale)
  • Application coordination and timing(NSNotification,NSNotificationCenter, NSNotificationQueue)\
  • Object distribution and persistence(NSPropertyListSerialization, NSCoder)
  • Operating-system services(NSThread,NSFileManager,NSProcessInfo)
  • URL loading system

1 comment: