Or you can read the first edition of this wikibook instead of reading this edition by following the following link: Programming Mac OS X With Cocoa First Edition. Version 10.6, 'Snow Leopard' Consider updating your version of Mac OS X to the latest available from Apple. Swift programming language is created by Apple Inc for iOS and OS X advancement. Swift receives the best of C and Objective-C, without the requirements of C similarity. Swift uses the equivalent runtime as the current Obj-C framework on Mac OS and iOS, which empowers Swift projects to run on many existing iOS 6 and OS X 10.8 stages.
Previous Page: What Is Cocoa | Next Page: First Cocoa Application - Hello World
Before you can begin developing Mac OS X applications using Cocoa, you need to install Apple's free developer tools. First check your version of Mac OS X by choosing 'About This Macintosh' from the Apple menu. Find your Mac OS X version below and follow the instructions for your version of Mac OS X.
You will either need to:
1. Update your Mac to the latest version of the OS by following the directions in the following link: https://discussions.apple.com/thread/4459406
2. Or you can read the first edition of this wikibook instead of reading this edition by following the following link: Programming Mac OS X With Cocoa First Edition
Consider updating your version of Mac OS X to the latest available from Apple.
If you want to try updating your version of Mac OS X, from your Apple menu, choose 'App Store...' and find the latest upgrade of Mac OS X and try to download it. The App Store Application will automatically determine whether your Mac hardware is compatible with an upgrade to the latest version of Mac OS X or not and if it's not, a message will be displayed telling you why you can't upgrade. If you were able to upgrade your Mac OS X version, follow the instructions below on this page in the section entitled 'Version 10.7 Or Later'. If you can't upgrade, then continue reading and following the instructions in this section.
To check if you have Xcode 4 installed do the following:
If you have Xcode 4 installed, then you can continue with this edition of this wikibook. If have Xcode version 3 installed then you'll have to read the first edition of this wikibook by following the following link: Programming Mac OS X with Cocoa for Beginners 1st Edition.
You can download Apple's Developer Tools (known as Xcode) from Apple's Mac App Store using the following instructions:
If you plan to work through this wikibook, a good idea is to add the Xcode icon to the Dock for easy access. To do this, simply drag the Xcode icon in the Finder to the Dock.
Now we are ready to begin developing apps.
Previous Page: What Is Cocoa | Next Page: First Cocoa Application - Hello World