A gang of four design patterns - Objective-C sample code?

I am wondering if anyone knows any downloadable Objective-C example code for a group of four design patterns? I'm looking for working samples of Xcode projects and don't mind paying!

By the way, if you are looking for other languages, you can start here for Java or here for different languages

+7
source share
3 answers

This is not a gang of four, but Apress has Carlo Chung's Pro Objective-C Design Patterns for iOS, which have many of these patterns. Other than that, I'm not sure of one place that has so many of these patterns represented in Objective C.

+2
source

The following link covers some design patterns.

  • Facade (one interface over a complex hierarchy)
  • MVC (most popular, nothing to say)
  • Decorator (view dependent models)
  • Composite (complex hierarchy of views as well as objects)
  • Adapter (specific protocol)
  • Observer (adding an observer when changing a property value)
    6.1. KVO (Observer-related key-value observation pattern)
    6.2. Notification Style
  • Memento (Archiving View State and Restore on Application Reboot)
  • Command (most commonly referred to as the Target-Action design pattern)

commonly used to solve some problems found during application development .... http://www.raywenderlich.com/46988/ios-design-patterns

+2
source

there is no book for specific code with applied design templates, but a couple of them have really useful examples of Clean Code and Clean Coder

0
source

All Articles