Hello, I'm fairly new to Swift programming (about 2 weeks). I'm coming to Swift from many years of Java.
I'm running OS X Yosemite and cannot switch to El Capitan or Sierra for app/machine compatibility reasons. This means I'm tied to XCode 7.x, which means I'm tied to Swift 2.x (currently using Swift 2.0 with XCode 7.0).
Now, I know that XCode has a "documentation and reference" feature, but that points me to the online Apple reference, which, I assume, is for the latest version of Swift (3.x). For example, a search in XCode for "NSMenu" points me to this page: https://developer.apple.com/reference/appkit/nsmenu.
So, where is the documentation for Swift 2.x ???
In the Java(Oracle) world, docs are neatly organized by language version, like so:
Java 6 reference: https://docs.oracle.com/javase/6/docs/api/
Java 7 reference: https://docs.oracle.com/javase/7/docs/api/
And, I'm expecting something similar for Swift. So, I'm totally lost !
I've tried, several times, to look online for a comprehensive Swift 2.0 reference, but have found no resources. Everything and everyone is talking about 3.x as if 2.x doesn't exist anymore.
Does Apple not archive documentation for past versions of their programming languages ? I find that astonishing if it's true.
Please help ! Thanks !
I'm running OS X Yosemite and cannot switch to El Capitan or Sierra for app/machine compatibility reasons. This means I'm tied to XCode 7.x, which means I'm tied to Swift 2.x (currently using Swift 2.0 with XCode 7.0).
Now, I know that XCode has a "documentation and reference" feature, but that points me to the online Apple reference, which, I assume, is for the latest version of Swift (3.x). For example, a search in XCode for "NSMenu" points me to this page: https://developer.apple.com/reference/appkit/nsmenu.
So, where is the documentation for Swift 2.x ???
In the Java(Oracle) world, docs are neatly organized by language version, like so:
Java 6 reference: https://docs.oracle.com/javase/6/docs/api/
Java 7 reference: https://docs.oracle.com/javase/7/docs/api/
And, I'm expecting something similar for Swift. So, I'm totally lost !
I've tried, several times, to look online for a comprehensive Swift 2.0 reference, but have found no resources. Everything and everyone is talking about 3.x as if 2.x doesn't exist anymore.
Does Apple not archive documentation for past versions of their programming languages ? I find that astonishing if it's true.
Please help ! Thanks !
Last edited: