The Swift Apprentice, 2nd Edition: Beginning programming with Swift 3 Front Cover

The Swift Apprentice, 2nd Edition: Beginning programming with Swift 3

  • Length: 408 pages
  • Edition: 2
  • Publisher:
  • Publication Date: 2016-12-07
  • ISBN-10: 1942878230
  • ISBN-13: 9781942878230
  • Sales Rank: #1706036 (See Top 100 Books)

Learn How To Program with Swift 3!

Swift is the easiest way to get started developing on Apple’s platforms: iOS, OS X, watchOS and tvOS. With the release of Swift 3 in 2016, the Swift language is packed with even more features and enhancements.

In this book, you’ll learn the basics of Swift from getting started with playgrounds to simple operations to building your own types. Everything you’ll learn is platform-neutral; you’ll have a firm understanding of Swift by the end of this book, and you’ll be ready to move on to whichever app platform you’re interested in.

Who This Book Is For:

This book is for complete beginners to Swift 3. No prior programming experience is necessary!

Topics Covered in The Swift Apprentice

  • Playground basics: Learn about the coding environment where you can quickly and easily try out your code as you learn.
  • Numbers and strings: These are the basic kinds of data in any app – learn how to use them in Swift.
  • Making Decisions: Your code doesn’t always run straight through – learn how to use conditions and decide what to do.
  • Functions: Group your code together into reusable chunks to run and pass around.
  • Collection Types: Discover the many ways Swift offers to store and organize data into collections.
  • Building Your Own Types: Learn how to model elements in your app using classes, structures and enumerations.
  • Protocols & Protocol-Oriented Programming: Define protocols to make your code more interface-based and compositional.
  • Error Handling: Make your code more robust and flexible by signaling and handling error conditions gracefully.
  • Functional Programming: Learn how to use Swift in a functional style and how this can make your code clearer and easier to reason about.

After reading this book and completing your Swift apprenticeship by working through the included exercises and challenges, you’ll be ready to take on app development on the platform of your choice!

Table of Contents

Section I: Swift Basics
Chapter 1: Coding Essentials & Playground Basics
Chapter 2: Expressions, Variables & Constants
Chapter 3: Types & Operations
Chapter 4: Basic Control Flow
Chapter 5: Advanced Control Flow
Chapter 6: Functions
Chapter 7: Optionals

Section II: Collection Types
Chapter 8: Arrays
Chapter 9: Dictionaries
Chapter 10: Collection Iteration with Closures

Section III: Building Your Own Types
Chapter 11: Structures
Chapter 12: Properties
Chapter 13: Methods
Chapter 14: Classes
Chapter 15: Advanced Classes
Chapter 16: Enumerations
Chapter 17: Protocols
Chapter 18: Generics

Section IV: Advanced Topics
Chapter 19: Access Control and Code Organization
Chapter 20: Custom Operators and Subscripts
Chapter 21: Pattern Matching
Chapter 22: Error Handling
Chapter 23: Asynchronous Closures and Memory Management
Chapter 24: Value Types and Value Semantics
Chapter 25: Protocol-Oriented Programming

To access the link, solve the captcha.