Learn to Code in Swift 4 - Kevin J McNeish

Learn to Code in Swift 4

By Kevin J McNeish

  • Release Date: 2017-11-12
  • Genre: Programming
Score: 4.5
From 21 Ratings


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


  • Not uptodate

    By altalomagary
    My first line of code on page 44 has a compatibility problem. The back of the book says there is a Forum to ask questions, but you have to register. Been waiting a week for “admin approval” of my registration.
  • Updated and working

    By Lonepine15
    The book has been updated for the current Swift and Xcode and I feel compelled to update my comment. Since the update I have returned to this book and I feel I am making progress. Kevin explains the why of things in Swift as well as pertinent information which doesn’t necessarily jump right out at you. Something I am not finding as readily in the Apple textbook. A beginner is trying to process quite a lot including how to use Xcode itself.
  • Great book but hasn’t been updated for 10 months!

    By cyferat
    Needs to be updated to reflect the many changes to XCode 8 and OS X 10.12 and Swift 3
  • Great Reviews!!!

    By Br8nt
    But it won't download.
  • The best book for learning swift

    By ssamadgh
    I searched a lot to find a book or course to learning Xcode and these series of books are the best one I found. Without a doubt!
  • Great Book

    By iPhone_repair 2012
    I have many books in the iOS App development for non-programmers series, and they’re all great. Highly recommended.
  • Excellent resource

    By Sunil Karkera
    This book uses iBooks to it's intended potential. The author has kept the book, language and examples updated to Swift 1.2 and XCode 6.3.
  • Good book, code samples need polishing

    By jeam
    The code examples in first dozen chapters fo the book are excellent, easy to follow and revealing. The code examples in the later portion of the book need polishing. Following the exercises described in the book often would not compile. Perhaps, instructions on settings could be in order. Otherwise, it is one of the better books I have read on Swift. Future releases will hopefully address some of the issues. Still, I highly recommend this book. Then, I could have missed following the instructions, even when I tried some of the tests several times.
  • Great! Holds your hand, but doesn’t talk down to you.

    By RickW
    I’m an experienced programmer, primarily in “scripting” languages, and am new to iOS. Objective C was a non-starter for me — the syntax is too obtuse. But then, I had not discovered Kevin’s books prior to abandoning C for Swift. This is my first book of McNeish’s, but it won’t me my last. His way of laying out the context along with the syntax and progressing through the language systematically allows you to digest the information without being overloaded. As a programmer, I was able to skim a bit, but I’ve found useful nuggets in the most basic topics, so I skipped very little. If you’ve been building apps with Objective C, this may be somewhat basic for you, but I’d still recommend it as a way to quickly get up to speed in Swift. The free downloadable examples are very helpful and serve to make this book an interactive tutorial. The videos and interactives — plus the ability to copy-paste code — make the iBook a great resource. One more observation: The beautiful photographs are a nice touch. They don’t have an obvious connection to the content, but do give the publication a professional, friendly and accessible feel. Great book!
  • Exceptional Book!

    By maury1933
    I have purchased all of Kevin McNeish’s iOS development books and they are great tools for learning how to develop iOS Apps. This last book, on the Swift language, is the best available, bar none. His method of guiding you through the material is outstanding and is easy for beginners like me to grasp the important concepts. The video’s at the end of most chapters really enhance the learning process. Kevin takes the time to personally answer questions on his forum which resolves your problems and keep the learning process going. Looking forward to purchasing his future books. His books are a bargain, for the knowledge they contain, by a real pro in the business.