Quantcast
Channel: Softwares – My Life , My Views
Viewing all articles
Browse latest Browse all 12

What is Cocoa??-an Introduction!!

$
0
0

No I am not talking about the regular chocolate that u add in your coffee and ice creams, this is something more interesting and it doesn’t have any side-effects such as obesity but it is surely addictive. What i am talking about is the Cocoa and Cocoa touch framework from the Mac OSx. Cocoa is a framework which is used as a dvelopment layer in all of the Mac OSx development. The development could be for anything including Mac desktops, Laptops, Iphones and IPads too. Thats the sort of power this framework has.

The Power of Objective-C

Much of Cocoa is implemented in Objective-C, an object-oriented language that is compiled to run at incredible speed, yet employes a truly dynamic runtime making it uniquely flexible. Because Objective-C is a superset of C, it is easy to mix C and even C++ into your Cocoa applications.

Cocoa Uses the Model-View-Controller Design Pattern

Cocoa uses the Model-View-Controller (MVC) design pattern throughout. Models encapsulate application data, Views display and edit that data, and Controllers mediate the logic between the two. By separating responsibilities in this manner, you end up with an application that is easier to design, implement, and maintain.

That was a brief intro of what is cocoa and what is it based on. Next time i am going to post about its features and what it could it do that makes it so special.


Viewing all articles
Browse latest Browse all 12

Trending Articles