Opening the iTunes Store.If iTunes doesn't open, click the iTunes application icon in your Dock or on your Windows desktop.Progress Indicator
Opening the iBooks Store.If iBooks doesn't open, click the iBooks app in your Dock.Progress Indicator

iTunes is the world's easiest way to organize and add to your digital media collection.

We are unable to find iTunes on your computer. To download from the iTunes Store, get iTunes now.

Already have iTunes? Click I Have iTunes to open it now.

I Have iTunes Free Download

Learn to Code in Swift 4

The New Language of iOS Apps

This book is available for download with iBooks on your Mac or iOS device. Multi-touch books can be read with iBooks on your Mac or iOS device. Books with interactive features may work best on an iOS device. iBooks on your Mac requires OS X 10.9 or later.


Learn Swift programming from the ground up with award-winning author, and iPhone Life magazine writer/blogger Kevin McNeish! After completing this book, you will have the skills and clear understanding to write well-designed Swift code for your iOS apps.

This book has been updated to Swift 4 and therefore requires the use of Xcode 8 or newer. This means you get the most up-to-date information available on Swift.

This book assumes no previous programming experience! It teaches you best practices for creating iOS apps in Swift using advanced educational tools such as:

• 20 embedded step-by-step movies with coding exercises.
• Interactive diagrams that help you visualize how code works.
• 25 Swift sample projects
• An online forum where you can get all your questions answered.

This book goes beyond basic syntax and uses practical examples demonstrating how to use the full power of Swift in your iOS apps. It provides clear, in-depth explanations of Swift concepts.

In the first few chapters, you learn the basics of Swift programming and then begin applying your knowledge by working through exercises at the end of each chapter that teach you to apply Swift programming principles in real-world apps.

Here are some of the concepts you will master in this book:

• Understanding Classes and Objects
• Working With Optionals
• Arrays and other Collections
• Looping and Conditional Statements
• Advanced Properties
• Data Types and Conversions
• Working with Strings
• Enumerations
• Initializers
• Access Control
• Unit Testing Your Code
• Inheritance & Polymorphism
• Mastering Protocols & Delegates
• The Power of Extensions
• Generics in the Real World
• Understanding Closures
• Handling Errors
• Appendix containing Swift free functions, data types, and operators

What's New in Version 4

Completely updated for Swift 4 and Xcode 9


screenshot 1
screenshot 2
screenshot 3
screenshot 4
screenshot 5

Customer Reviews

Great book!

I was waiting anxiously for this book to come out and I was not disappointed. This is a great book to get going in learning how to code in swift with very good sample code. Thanks for getting this book out!

My new Bible

I never coded before doing iOS programming. Getting started on my own was hell of a nightmare. I purchased a MacBook Pro to build app and I gave up for a year because the resources out there were not made for people like me.
Yes, I failed but a year after my failure, I doubled my effort and went around YouTube, iBooks and some other website. Since then I’m worked with Kevin’s first books and those opened the world of iOS to me!

Now Apple has made some changes and we are on a new Chapter with Swift. I read Apple’s documentation about the language and it was ok. I’m happy to see this book on the iBook store as I can use it as my study book on my iPad while I am using my Macbook pro to code.

If you consider getting a hard cover copy or even kindle, I would recommend you to go for this iBook version instead.
First, Swift is a new language and we all suspect to see some more updates. Kevin’s books all come to us as free updates (which isn't possible when you are a printed copy and compared to other authors, who ‘force’ you to get a second, third, … edition to be up to date - and pay.)
Second, the videos coming with this book are a great add-ons to master a subject.
Where videos are a great help, you’ll also find some graphs and schematics to understand a concept well.

If you are making your first steps with Swift or if you already have some background, this book is all your need to get your app ready for the real world.
You can hardly find something better than this.

Start here

I've purchased Kevin McNeish's books before, so when Swift was announced, I eagerly awaited this book. If you're someone wanting to learn how to develop an app on your own, and don't where to begin, then this is a good starting point.

The book takes a complete beginner's approach. His examples really help clarify some programming concepts. It doesn't just show you the how-to. It even helps you understand some of the why-should-you's to approaching code methods. The book takes you step by step and includes videos in case you get stuck. The images are high quality, so it's easy on the eyes. I've tried other books where the screenshot images were very blurry/pixilated, practically defeating the purpose. It really is a good value for the content you're getting. Going from declaring variables to advanced topics like generics, it covers a lot in just a short amount of time, without making you feel overwhelmed.

I'm more confident about developing apps because of these books. So if you're just starting out, trying to teach yourself, I definitely recommend it. It will do the same for you.

Learn to Code in Swift 4
View in iTunes
  • $24.99
  • Available on iPad, iPhone and Mac.
  • Category: Programming
  • Published: Nov 12, 2017
  • Publisher: Oak Leaf Enterprises, Inc.
  • Seller: Oak Leaf Enterprises, Inc.
  • Print Length: 438 Pages
  • Language: English
  • Version: 4
  • Requirements: To view this book, you must have an iPad with iBooks 2 or later and iOS 5 or later, or an iPhone with iOS 8.4 or later, or a Mac with OS X 10.9 or later.

Customer Ratings