1.

What Are The Differences Between Cocoa Touch And Cocoa?

Answer»

Cocoa touch is an application framework for Apple products LIKE iPad, iPhone and iPod Touch.

Cocoa is an application framework that helps in the development of applications in MAC OS X environment.

Both Cocoa and Cocoa Touch sit on top of other collections of frameworks to create the API stacks.

For Application Framework:-

  1. Cocoa is the application framework for Mac OS X.
  2. Cocoa Touch is the application framework for iPhone and iPod Touch.

For Frameworks:-

  1. Cocoa - Foundation and Appkit
  2. Cocoa Touch - Foundation and UIKit

For API:-

  1. Cocoa - All the classes used in Cocoa have the NS prefix Exp: NSTextField
  2. Cocoa Touch - classes used in Cocoa have the UI prefix Exp: UITextField

For MVC patterns:–

  1. Cocoa - Cocoa has multiple ALTERNATIVE design patterns – in addition to MVC.
  2. Cocoa Touch - The iPhone SDK has a reinforced MVC system, which PERFORMS better than the default MVC in Cocoa.

Cocoa touch is an application framework for Apple products like iPad, iPhone and iPod Touch.

Cocoa is an application framework that helps in the development of applications in MAC OS X environment.

Both Cocoa and Cocoa Touch sit on top of other collections of frameworks to create the API stacks.

For Application Framework:-

For Frameworks:-

For API:-

For MVC patterns:–



Discussion

No Comment Found