Get started with Swift 4
Want to learn Apple’s Swift development language? Help is at hand with these handy online resources. Nik Rawlinson reports
Apple’s Swift is billed by the tech giant as a programming language that “lets everyone build amazing apps”. Now, that may be true, but don’t expect to dive into Swift coding today and write the next Candy Crush tomorrow. As with any language, spoken or coded, learning it takes both time and effort.
Help is at hand, though, with both free and commercial resources available online covering the
language in depth. Whatever your ability, you’ll find plenty here to advance your skills.
Before you get started, Swift 4.0.3 is available to download at fave.co/2tkLOto, and you can get it along with Xcode 9.2 and start learning the new language straight away.
You should be careful to check which version of Swift and Xcode your training materials are using, because there may be some variations.
Then you’ll want to start at the source with Apple’s dedicated Swift documentation (fave.co/2oHZlpY). You don’t need a Developer account to access the files or to download Xcode from the Mac App Store (fave.co/1OW6T1K), so you can get started.
The Developer documentation includes sample code, links to the reference material and, most useful for anyone switching from another language, videos from the Swift 4.0 update at 2017’s Worldwide Developers Conference.
Put your commute to good use by working your way through Apple’s free Swift programming materials available from the iBooks Store. There you will find books including The Swift Programming Language, which offers a tour of the language, a details guide to each feature and a formal reference for the language.
The Everyone Can Code is available for free there too. Apple has said that the curriculum, which is primarily designed for high school and college students but is accessible to all, will teach students to “code and design fully functional apps, gaining critical job skills in software development and information technology.”
Try an online course Lynda
If you need to get started with Swift as quickly as possible, check out Lynda.com’s Swift 4 Essential Training at fave.co/2oIoFwg.
There are plenty of other Swift courses available at Lynda.com too, and the difference between this site and Udemy is that, with Udemy you pay to download individual courses, whereas Lynda.com
offers a monthly subscription that gives you access to unlimited courses, so you can try lots of them.
Lynda.com charges between £12.95 a month and £18.95 per month depending on the level of service you want, and once you’ve paid you can access all of its courses, whatever the subject, alongside this series of Swift lessons. If you’re not sure whether you’d suit this kind of tutoring, try out a free preview account first.
If the Lynda courses are too expensive, check out Tutsplus (fave.co/2H7E0NL), where you can buy courses for $9 (around £6.50).
If all of this solo study is sending you stir crazy, sign up to a programming podcast. iDeveloper focuses entirely on iOS and macOS development, discussing tools and techniques, and offering tips and advice. If you’re serious about making some money from your work, it also concerns itself with the business side of selling your apps.
The content is chatty and engaging, but can get technical at times, so if you find it going above your head, hang in there and assimilate as much as you can – at least you’ll be getting familiar with terms and phrases used within the realm of programming.
You can preview individual episodes and read a synopsis of each one at the podcast home page.