Swift is designed to work with Cocoa and Cocoa Touch, as well as the existing Objective-C code written for Apple products. The Swift language was originally a proprietary language to Apple, but it was made open source with version 2.2, released in December 2015. Swift 2.0 and 3.0 were released in September 20, respectfully. Swift 1.0 was released for Xcode 6.0 for iOS on September 9, 2014. Outside developers first received a version of the programming language on Jat Apple’s WWDC conference. Swift Historyĭevelopment of the Swift language began at Apple in 2010 by Chris Lattner. This is a short version of how Objective-C came to be the native language for Apple development tools, specifically Xcode, using the Cocoa API. Apple named their version of the development environment Cocoa. Apple Computer acquired NeXT Software at the end of 1996 (allowing Jobs to return as CEO), and their NEXTSTEP/OPENSTEP environment became the basis for the newest OS X operating system. NeXT Software licensed Objective-C in 1988 and developed libraries and a development environment called NEXTSTEP (Steve Jobs was the CEO of NeXT). This new language was layered on top of C, which means that extensions were added to C that enabled objects to be created and manipulated. Why should you pick one versus the other? If you’re just starting out, which should you learn first? To start to get a better picture, let’s first look at some of the history of the two languages and what their advantages/disadvantages might be.īrad Cox and Tom Love designed the Objective-C language in the early 1980s at a company called StepStone. You also have to pick a language, either Objective-C or Swift, to start you project. After pressing to create a new application, you are taken to a page where you need to name your new project. This becomes abundantly clear as soon as you start your first project in Xcode. There are two native programming languages for iOS-Objective-C and Swift.
0 Comments
Leave a Reply. |