What's the best way to implement attachable and observable patterns in Cocoa/ObjC? This is a brand new app for Tiger or later. The basic design is a pipe-and-filter that processes incoming network packets (normal app, not a kext or anything). I want to be able to add 0..* observers or attachments to each stage that can either do stuff based on or do stuff to the packets as they progress through the filters. For at least the observing part, you may want to take a look at these pages: <http://developer.apple.com/documentation/Cocoa/Conceptual/ KeyValueCoding/index.html> <http://developer.apple.com/documentation/Cocoa/Conceptual/ KeyValueObserving/index.html> -John Calsbeek
What's the best way to implement attachable and observable patterns in Cocoa/ObjC? This is a brand new app for Tiger or later. The basic design is a pipe-and-filter that processes incoming network packets (normal app, not a kext or anything). I want to be able to add 0..* observers or attachments to each stage that can either do stuff based on or do stuff to the packets as they progress through the filters.