• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Attachable and observable patterns
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Attachable and observable patterns


  • Subject: Re: Attachable and observable patterns
  • From: email@hidden
  • Date: Thu, 14 Jul 2005 16:57:17 -0700

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

Hm, the observed things are not properties of the objects, they are operated on by the objects. Is KVO appropriate for this?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >Attachable and observable patterns (From: email@hidden)
 >Re: Attachable and observable patterns (From: John Calsbeek <email@hidden>)

  • Prev by Date: Custom Drop Drawing In Table View (instead of the ugly black rect)
  • Next by Date: Getting current connection speed
  • Previous by thread: Re: Attachable and observable patterns
  • Next by thread: Creating an XML document
  • Index(es):
    • Date
    • Thread