Home  >  Blog  >   iPhone

Exploring the Foundation framework – iPhone

Rating: 4
  
 
2161

 

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.

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.

MindMajix Youtube Channel

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

Join our newsletter
inbox

Stay updated with our newsletter, packed with Tutorials, Interview Questions, How-to's, Tips & Tricks, Latest Trends & Updates, and more ➤ Straight to your inbox!

Course Schedule
NameDates
IOS Development TrainingApr 20 to May 05View Details
IOS Development TrainingApr 23 to May 08View Details
IOS Development TrainingApr 27 to May 12View Details
IOS Development TrainingApr 30 to May 15View Details
Last updated: 03 Apr 2023
About Author

 

Technical Content Writer

read more
Recommended Courses

1 / 15