Book description
It's time to capitalize on your mastery of Cocoa with Pro Objective-C Design Patterns for iOS. You've developed apps that impressed and performed, and now you're ready to jump into development practices that will leave you with more effective, efficient, and professional level apps. This book is the element you need to make the jump from journeyman to master.
All too often, developers grind through building good apps on willpower and a vigorous focus on code development, leaving them unaware of and unable to benefit from the underlying structural and functional design patterns.
Pro Objective-C Design Patterns for iOS will teach you those design patterns that have always been present at some level in your code, but were never recognized, acknowledged, or fully utilized. Implementation of specific pattern approaches will prove their value to any developer working in the iOS application arena. You'll learn to master classic patterns like singleton, abstract factory, chain of responsibility, and observer. You'll also discover less well-known but useful patterns like memento, composite, command, and mediator.
What you'll learn
The basic concepts of various design patterns
How to apply design patterns to your code based on different scenarios
How design patterns can strengthen your apps
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 Pro Objective-C Design Patterns for iOS.
Table of contents
- Copyright
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Preface
-
I. Getting Your Feet Wet
-
1. Hello, Design Patterns!
- 1.1. What This Book Is
- 1.2. What You Need Before You Can Begin
- 1.3. What You Need to Know Before You Can Begin
- 1.4. Design Déjà-vu
- 1.5. The Origin of Design Patterns - Model, View, and Controller (MVC)
- 1.6. Issues That Can Affect Your Design
- 1.7. Objects and Classes Used in this Book
- 1.8. How the Patterns are Organized
- 1.9. Summary
- 2. A Case Study: Designing an App
-
1. Hello, Design Patterns!
-
II. Object Creation
- 3. Prototype
- 4. Factory Method
- 5. Abstract Factory
- 6. Builder
- 7. Singleton
- III. Interface Adaptation
-
IV. Decoupling of Objects
- 11. Mediator
- 12. Observer
- V. Abstract Collection
- VI. Behavioral Extension
-
VII. Algorithm Encapsulation
-
18. Template Method
- 18.1. What Is the Template Method Pattern?
- 18.2. When Would You Use the Template Method?
- 18.3. Using the Template Method to Make a Sandwich
- 18.4. Ensuring That the Template Method Is Working
- 18.5. Adding an Extra Step to the Template Method
- 18.6. Using the Template Method in the Cocoa Touch Framework
- 18.7. Summary
- 19. Strategy
-
20. Command
- 20.1. What Is the Command Pattern?
- 20.2. When Would You Use the Command Pattern?
- 20.3. Using the Command Pattern in the Cocoa Touch Framework
- 20.4. Implementing Undo/Redo in TouchPainter
- 20.5. What Else Can a Command Do?
- 20.6. Summary
-
18. Template Method
-
VIII. Performance and Object Access
- 21. Flyweight
- 22. Proxy
- IX. State Of Object
Product information
- Title: Pro Objective-C Design Patterns for iOS
- Author(s):
- Release date: April 2011
- Publisher(s): Apress
- ISBN: 9781430233305
You might also like
book
Learning Objective-C 2.0: A Hands-on Guide to Objective-C for Mac and iOS Developers, Second Edition
Get Started Fast with Objective-C 2.0 Programming for OS X Mountain Lion, iOS 5.1, and Beyond …
book
Pro Objective-C
The Objective-C programming language continues to grow in popularity and usage because of the power and …
book
More iPhone Development with Objective-C
If you are looking to extend your iOS programming skills beyond the basics then More iPhone …
book
iOS Programming Cookbook
Over 50 exciting and powerful recipes to help you unearth the promise of iOS programming About …