• 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
Keeping track of state in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Keeping track of state in Cocoa
      • From: Wim Lewis <email@hidden>
  • Prev by Date: Clickable URL in NSPanel
  • Next by Date: Showing a NSPanel
  • Previous by thread: Re: Clickable URL in NSPanel
  • Next by thread: Re: Keeping track of state in Cocoa
  • Index(es):
    • Date
    • Thread