Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are common design patterns in Cocoa Touch?

In Java community, design pattern is very common term.

In Object C and Cocoa touch world, there are also some design patterns, such as MVC, target-action, delegate, KVO etc.

The purpose question here is to hear more professional experience from guru. After all, some patterns are common used in iOS development. Just like some are very common in J2EE world.

So question maybe how many common patterns in iOS development field ? Let me put some here

  • MVC
  • delegate, target-action ( communication between V and C )
  • KVC KVO Notification ( comm between M and C )
  • Singleton .... ....
like image 235
Forrest Avatar asked Dec 30 '10 02:12

Forrest


1 Answers

The Cocoa Fundamentals Guide has a section on a some design patterns: http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CocoaFundamentals/CocoaDesignPatterns/CocoaDesignPatterns.html%23//apple_ref/doc/uid/TP40002974-CH6-SW6

I don't believe you need access to the Apple Dev Center to view that, but I could be wrong.

like image 139
Bob Vork Avatar answered Oct 21 '22 06:10

Bob Vork