Keeping track of state in Cocoa
Keeping track of state in Cocoa
- Subject: Keeping track of state in Cocoa
- From: Jon Sigman <email@hidden>
- Date: Wed, 1 Dec 2010 15:31:57 -0800 (PST)
How does one track state in Cocoa?
I have a message receiver which manages a number of TCP-connected processes (100
or so). However, I need to keep track of the state of each connected process
(registered, busy, waiting, etc) to know what operations are 'legal' or
appropriate for dealing with each one.
Is there any construct, design pattern, object, etc inherent in Cocoa or OSX
that is used for this kind of thing, or do people 'roll their own' with some
sort of ad hoc table, struct, etc?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden