7

I'm curious if anyone knows of any downloadable Objective C sample code for the gang of four design patterns out there? I am looking for working sample XCode projects and don't mind paying!

Incidentally, if you're looking for other languages, you could start here for Java or here for various languages

Ssubrat Rrudra
  • 870
  • 8
  • 20
William Jockusch
  • 26,513
  • 49
  • 182
  • 323
  • I do like this question, but I still think it's off topic since it simply asks for resources, and as such, I voted to close it – James Webster Oct 21 '13 at 12:06

3 Answers3

2

It's no Gang of Four but Apress has Pro Objective-C Design Patterns for iOS by Carlo Chung which has many of these patterns in it. Other than that, I'm not sure of one place that has so many of these patterns represented in Objective C.

scottheckel
  • 9,106
  • 1
  • 35
  • 47
2

The following link has covered some of the Design Patterns

  1. Facade (One single interface above a complex hierarchy)
  2. MVC(Most popular,nothing to say)
  3. Decorator(View dependent models)
  4. Composite(Complex hierarchy of views as well as Objects)
  5. Adapter (Protocol Specific)
  6. Observer(adding observer while property value changes)
    6.1. KVO (Key Value Observing Pattern,associated with Observer)
    6.2. Notification Style
  7. Memento (Archiving the View's state and restoring on app reload)
  8. Command (Most commonly known as Target-Action design pattern)

generally used to solve some issues found while developing Applications.... http://www.raywenderlich.com/46988/ios-design-patterns

James Webster
  • 31,873
  • 11
  • 70
  • 114
Sauvik Dolui
  • 5,520
  • 3
  • 34
  • 44
0

there's not a book for specific code with design patters applied, but a couple of them have really useful examples Clean Code and Clean Coder

rafaecheve
  • 1,226
  • 1
  • 9
  • 4