Cocoa provides some very powerful and intelligent design patterns, every Objective-C programmer should be aware of. Some of them are apparent on other platforms and programming languages, others are quite unique. Don't fight these patterns, use them :)
- Protocols
- Categories
- Target-Action-Paradigm
- MVC (Model / View / Controller)
- KVC (Key-Value-Coding)
- KVC+KVO (Key-Value-Observing)
- Delegation (Protocol)
- DataSource (Protocol)
- Notification (NSNotificationCenter & NSDistributedNotificationCenter)
- Singleton
Diese Seite ist Teil des Werkmoduls iOS Development von Michael Markert für Interface Design / Fakultät Medien an der Bauhaus-Universität Weimar.