Hi, I'm wondering, where should one start in the path to learning how to develop Mac applications?
Should I start by learning Obj-C/Swift? Then Cocoa? Is Cocoa basically what Xcode is?
I've found many books for Obj-C and Cocoa, but none of them include Swift as of now.
So my question is, what is the very basic guide to get started in Mac programming?
Start with Swift. It is a straightforward, easy-to-use language, which is also quite powerful. It is also going to replace Objective-C, so there is no point in your learning to use the latter when it will soon be obsolete.
Cocoa is a set of APIs (essentially, premade parts of a program) that Apple provides for our use. It includes things like buttons, text boxes, menus, windows, file and image handling, and so forth. Cocoa makes it easy to create a program with the look and feel that we expect from an OS X application.
You will need to learn some aspects of Cocoa to write programs for the Mac, but you wont need all of it at first. First get a handle on using Swift in a playground. Once youre comfortable with the basics of Swift, then look at an overview of Cocoa. Dont try to delve in deeply, just get a handle on the different types of things that Cocoa provides.
When youre ready to try your hand at a full-fledge Mac application, then youll know how to perform the logic in Swift, and youll have a good idea what Cocoa classes are likely to be useful.
Have you done any programming before?
If so in what languages?
Anything object-oriented?