Learn to Code in Swift 4 - Kevin J McNeish

Learn to Code in Swift 4

Artist Kevin J McNeish

  • Release Date: 2017-11-12
  • Genre: Programming
Score: 4.5
From 10 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


  • 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.
  • Awesome Author!!!

    By Tulyk
    I have been trying to learn code for that past couple weeks with Apples Swift Guide and YouTube videos but was learning slow as I would get confused. Last night I got the demo of this book and read the first 50 pages. I felt that I learned so much in those 50 pages in one night than I have for the last couple weeks. He does a really good job at explaining things to someone that knows nothing or where to begin.
  • Start here

    By Ponch2000
    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.