Exploring the Foundation framework – iPhone

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.

Inclined to build a profession as IOS Developer? Then here is the blog post on iPhone Development Certification Training.

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:-

1)  NSString                                            
2) NSMutable String
3) NS Array                                            
4) NSMutableArray
5) NSSet                                                
6) NSMutable Set
7) NS Data                                               
8) NS Mutable Dictionary
9) NS Dictionary                                   
10) NS Mutable Dictionary
11) NS Date                                           
12) NS  Date Formatter
13) NS Timer                                       
14) NS  User Defaults
15) NS Thread                                     
16) NS URL
17) NS URL Request                           
18) NS URL Connection
19) NS Notification Center                 
20) NS  Notification
21) NS Object                                         
22) NS Number
23) NS Decimal Number                      
24) NS Value
25) NS Null                                           
26) NS Exception
27) NS File Manager                          
28) NS Range
29) NS XML Parser                              
30) NS Operation


Frequently Asked iPhone Interview Questions & Answers



Get Updates on Tech posts, Interview & Certification questions and training schedules