Swift Programming: The Big Nerd Ranch Guide, 3rd edition

Published by Big Nerd Ranch Guides (October 21, 2020) © 2021

  • Matthew Mathias
  • John Gallagher
  • Mikey Ward

VitalSource eTextbook

ISBN-13: 9780135266595
Swift Programming: The Big Nerd Ranch Guide
Published 2020
  • Available for purchase from all major ebook resellers, including InformIT.com

Title overview

Through this guide's carefully constructed explanations and examples, you will develop an understanding of Swift grammar and the elements of effective Swift style - all thoroughly revised for Swift 5.3 and Xcode 12. Based on Big Nerd Ranchs popular Swift training and its well-tested materials and methodology, this guide teaches concepts and coding through hands-on exercises. You will explore Swift features in Xcode playgrounds, and you will end by building sample apps for the command line and for macOS and iOS.

After working through the book, you will have the skills to confidently dive into learning app development for Apple platforms like iOS and macOS.

Table of contents

  • 1. Getting Started
  • 2. Types, Constants, and Variables
  • 3. Conditionals
  • 4. Numbers
  • 5. Switch
  • 6. Loops
  • 7. Strings
  • 8. Arrays
  • 9. Optionals
  • 10. Dictionaries
  • 11. Sets
  • 12. Functions
  • 13. Closures
  • 14. Enumerations
  • 15. Structs and Classes
  • 16. Properties
  • 17. Initialization
  • 18. Value vs. Reference Types
  • 19. Protocols
  • 20. Extensions
  • 21. Generics
  • 22. Protocol Extensions
  • 23. Error Handling
  • 24. Memory Management and ARC
  • 25. Equatable, Comparable, and Hashable
  • 26. Property Wrappers
  • 27. Command-Line Utilities
  • 28. iOS and macOS Apps
  • 29. Conclusion

Need help?Get in touch