Powered by
Powered by
HuntMyIdeas-Inspire You To Make It Happen
Follow
   Me
  • Blogs
  • About Me
  • Home

What are the differences between Cocoa and Cocoa Touch?

8/19/2018

Comments

 
These are basically the frameworks used for development of applications.
The core concepts of Cocoa and Cocoa touch are similar.But there is some main differences between these frameworks.
After a lot of reference,I have concluded some best points regarding the differences between Cocoa and Cocoa Touch which every beginner should know  before starting                        development.
Read:
Top 5 Simple iOS Interview Questions And Answers
Most Important iPhone interview Questions and Answers 
Top iOS interview Questions And Answers Collection
iOS Interview Questions And Answers For 1-2 years Experienced Candidates.
iOS Interview Questions And Answers part 16
iOS interview Questions And Answers Part 21
Cocoa
  • Cocoa is the application framework for  used for development in Mac OS X.
  • Cocoa is commonly referred to as the combination of the Foundation and AppKit frameworks, while 
  • In Cocoa, the have the "NS" prefix as in "NSButton" (the NS stands for NextStep which is a predecessor to Mac OS X).
  • If you refer Foundation frameworks in Cocoa ,it has  "NSHost" class.
Cocoa Touch
  • Cocoa Touch is the application framework used for development in iOS (iPhone,iPad and iPod)
  • Cocoa Touch is commonly referred as combination of the Foundation and UIKit frameworks
  • In Cocoa Touch, the UI classes all start with the prefix "UI" as in "UIButton", "UIView", etc,(the UI stands for User Interface elements on iOS)
  • If you refer Foundation frameworks in Cocoa Touch ,it's missing "NSHost" class.

Cocoa and Cocoa Touch sit on top of other collections of frameworks to create the API stacks. The other layers are Media, Core Services and Core OS.

Cocoa has more features than Cocoa Touch. But overall their APIs are very similar.

Many of the classes share the same functionality and can be ported quite easily by simply changing the class name, though most will require some more changes, but usually nothing too heavy.
Comments

    Enter your email address:

    Delivered by FeedBurner

    RSS Feed

    Archives

    August 2018
    January 2018
    December 2017
    November 2017
    October 2017
    August 2017
    April 2017
    July 2016
    June 2016
    May 2016
    April 2016
    March 2016
    February 2016
    December 2014
    November 2014
    October 2014
    September 2014
    August 2014
    July 2014
    June 2014


    ​​Categories

    All
    Affiliate Marketing
    Alexa Rank
    Apple's Latest Updates
    Blog Tips
    Cocos2d X
    Cocos2d-x
    Google AdSense Tips
    Grab-some-ultimate-ideas
    How-to-create-a-twinkling-star-background-effect-in-ios
    In-App Purchase Tutorial In Cocos2d-x (C++) Using SDKBOX
    Ios Interview Questions And Answers
    IOS Multiple Choice Questions And Answers
    Objective C
    Online Business
    Secrets To Effective IPhone App Marketing
    SEO Tips
    Swift Interview Questions
    Swift Tutorials
    Top 10 Articles Objective C
    Top 10 Articles-Objective-C
    Top 10 Popular Movies Ever
    Top 10 Popular Things To Know
    Top 10 Ultimate Issues Xcode
    Top 400 IOS Interview Questions
    Top IOS Sample Projects To Learn From
    Top Secrets To App Marketing
    UICollectionView
    Unity 3D
    Xcode

WELCOME TO HUNTMYIDEAS

Picture
I am Jitendra Gochhayat,an iOS Developer,Designer,blogger,
​from Odisha,India.
I write about ​​​blog tips and,
Make money online Tips,
​Objective C tutorials
SUSCRIBE TO NEWSLETTER

    Subscribe to this blog and receive notifications of new posts by email

Suscribe
Picture
Picture
Picture
Picture
Picture
HuntMyIdeas-2016 Powered By Weebly
Picture
Powered by Create your own unique website with customizable templates.
Powered by
Powered by