Paul Cantrell’s recent post showed that you can use Objective-C protocols to constrain the behavior of id objects. When declaring an instance variable or parameter as id<Protocol>, the compiler’s type checker will warn when sending message not found in Protocol. For this reason, protocols are pretty handy. But in practice, a problem arises. Let’s say [...]
Archive by Author
id<Protocol>, Retain/Release and Protocol Inheritance
by Neil Mix on 19. May, 2009 in Resources, Tips, Tutorials
Supporters
Popular Right Now
- Tutorial: JSON Over HTTP On The iPhone
- 7 UI Design Resources for iPhone Developers
- Android App Development:Threading part 1: Handlers
- 31 iPhone Applications With Source Code
- Tutorial: Networking and Bonjour on iPhone
- App Roundup: The Best iPhone Barcode Scanners
- Hello There: A CoreLocation Tutorial
- Finding iPhone Memory Leaks: A “Leaks” Tool Tutorial

Recent Comments