文件名称:Apress.Pro.Design.Patterns.in.Swift
文件大小:6.68MB
文件格式:PDF
更新时间:2018-02-18 05:19:21
design pattern swift ios
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 What youll 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 Who this book is for Any professional or aspiring iOS developer will find productivity, efficiency, and effectiveness of software development enhanced by the methods and practice delivered by ProDesign Patterns in Swift. Table of Contents Part 1 - Getting Started Chapter 1. Understanding Design Patterns Chapter 2. Getting Used to Xcode Chapter 3. Creating the SportsStore App Part 2 - The Creation Patterns Chapter 4. The Object Template Pattern Chapter 5. The Prototype Pattern Chapter 6. The Singleton Pattern Chapter 7. The Object Pool Pattern Chapter 8. Object Pool Variations Chapter 9. The Factory Method Pattern Chapter 10. The Abstract Factory Pattern Chapter 11. The Builder Pattern Part 3 - The Structural Patterns Chapter 12. The Adapter Pattern Chapter 13. The Bridge Pattern Chapter 14. The Decorator Pattern Chapter 15. The Composite Pattern Chapter 16. The Facade Pattern Chapter 17. The Flyweight Pattern Chapter 18. The Proxy Pattern Part 4 - The Behavioral Patterns Chapter 19. The Chain of Responsibility Pattern Chapter 20. The Command Pattern Chapter 21. The Mediator Pattern Chapter 22. The Observer Pattern Chapter 23. The Memento Pattern Chapter 24. The Strategy Pattern Chapter 25. The Visitor Pattern Chapter 26. The Template Method Pattern Part 5 - The MVC Pattern Chapter 27. The MVC Pattern