Foundation Framework IOS

The Foundation framework defines a base layer of OBJECTIVE-C CLASSES. In addition to providing a set of useful primitive object classes, it introduces several paradigms that define functionality not covered by the Objective-C language. The Foundation framework is designed with these goals in mind:

  • Provide a small set of basic utility classes.
  • Make software development easier by introducing consistent conventions for things such as deallocation.
  • Support Unicode strings, object persistence, and object distribution.
  • Provide a level of OS independence, to enhance portability.

The FOUNDATION FRAMEWORK includes the root object class, classes representing basic data types such as strings and byte arrays, collection classes for storing other objects, classes representing system information such as dates, and classes representing communication ports.

If you want to become a ios Certified Specialist, then visit Mindmajix - A Global online training platform: ios Training Online Certification”.  This course will help you to achieve excellence in this domain.

Subscribe to our youtube channel to get new updates..!

The Foundation framework introduces several paradigms to avoid confusion in common situations, and to introduce a level of consistency across class hierarchies. This consistency is done with some standard policies, such as that for object ownership (that is, who is responsible for disposing of objects), and with abstract classes like NSEnumerator. These new paradigms reduce the number of special and exceptional cases in an API and allow you to code more efficiently by reusing the same mechanisms with various kinds of objects.

It is a base framework for MAC OSX, IOS application development, this is written in Objective C languages. All the classes in this framework start with NS(NEXT STEP)

EX:- NSArray, NSString etc.

Foundation classes:-

NSString                                            
NSMutable String
NS Array                                            
NSMutableArray
NSSet                                                
NSMutable Set
NS Data                                               
NS Mutable Dictionary
NS Dictionary                                   
NS Mutable Dictionary
NS Date                                           
NS  Date Formatter
NS Timer                                       
NS  User Defaults
NS Thread                                     
NS URL
NS URL Request                           
NS URL Connection
NS Notification Center                 
NS  Notification
NS Object                                         
NS Number
NS Decimal Number                      
NS Value
NS Null                                           
NS Exception
NS File Manager                          
NS Range
NS XML Parser                              
NS Operation

Frequently Asked iPhone Interview Questions & Answers