Pro Design Patterns in Swift

  • 7h 42m
  • Adam Freeman
  • Apress
  • 2015

The Swift programming language has transformed the world of iOS development and started a new age of modern Cocoa development. Pro Design Patterns in Swift shows you how to harness the power and flexibility of Swift to apply the most important and enduring design patterns to your applications, taking your development projects to master level.

This book will teach you those design patterns that have always been present at some level in your code, but may not have been recognized, acknowledged, or fully utilized. Implementation of specific pattern approaches will prove their value to any Swift developer.

Best-selling author Adam Freeman explains how to get the most from design patterns. He starts with the nuts-and-bolts and shows you everything through to advanced features, going in-depth to give you the knowledge you need.

Pro Design Patterns in Swift brings design patterns to life and shows you how to bring structure and scale to your Swift code with a practical, no-nonsense approach.

In this book, you’ll learn:

  • Gain a solid, practical understanding of why and when design patterns are useful
  • Master classic patterns like singleton, abstract factory, chain of responsibility, and observer
  • Discover less well-known patterns like memento, composite, command, and mediator
  • Understand how Swift provides essential language features for writing well-structured code that is easy to understand, simple to test and readily maintainable.
  • Learn how to consume the Cocoa API to implement classic design patterns
  • Build on your existing programming knowledge to get up and running with design patterns in Swift quickly and effectively

About the Author

Adam Freeman is an experienced IT professional who has held senior positions in a range of companies, most recently serving as chief technology officer and chief operating officer of a global bank. Now retired, he spends his time writing and long-distance running.

In this Book

  • Understanding Design Patterns
  • Getting Used to Xcode
  • Creating the SportsStore App
  • The Object Template Pattern
  • The Prototype Pattern
  • The Singleton Pattern
  • The Object Pool Pattern
  • Object Pool Variations
  • The Factory Method Pattern
  • Abstract Factory Pattern
  • The Builder Pattern
  • The Adapter Pattern
  • The Bridge Pattern
  • The Decorator Pattern
  • The Composite Pattern
  • The Façade Pattern
  • The Flyweight Pattern
  • The Proxy Pattern
  • The Chain of Responsibility Pattern
  • The Command Pattern
  • The Mediator Pattern
  • The Observer Pattern
  • The Memento Pattern
  • The Strategy Pattern
  • The Visitor Pattern
  • The Template Method Pattern
  • The Model/View/Controller Pattern
SHOW MORE
FREE ACCESS