Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does it make sense to first learn Cocoa for Leopard and then Cocoa Touch for iPhone?

Actually I don't care too much about Mac OS X development. I want to do only iPod Touch and iPhone development. But anyways, I started learning Cocoa and Objective-C. But it seems like there are many differences between Cocoa and Cocoa Touch, so I am wondering if I am actually wasting my time. Should I just jump directly into iPhone topics?

like image 830
Thanks Avatar asked Feb 28 '09 17:02

Thanks


People also ask

What is the difference between Cocoa and Cocoa Touch in Swift?

Both Cocoa and Cocoa Touch include the Objective-C runtime and two core frameworks: Cocoa, which includes the Foundation and AppKit frameworks, is used for developing applications that run on OS X. Cocoa Touch, which includes Foundation and UIKit frameworks, is used for developing applications that run on iOS.

What is the Cocoa framework?

Cocoa's Foundation framework provides many basic data types, including strings, arrays, dictionaries, and numbers. Foundation furnishes several classes whose purpose is to hold other objects—the collection classes. You'll learn more about these data types throughout the chapters in this book.


1 Answers

There is lots of overlap, but if your purpose in learning is to do iPhone programming, then by all means learn iPhone programming directly.

As a side-effect, you will be able to pick up Mac application programming more easily if you should ever have such a desire.

like image 133
elasticrat Avatar answered Oct 10 '22 21:10

elasticrat