• 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
How to have a shared integer variable in application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to have a shared integer variable in application


  • Subject: How to have a shared integer variable in application
  • From: email@hidden (Christian Schmitz)
  • Date: Fri, 5 Oct 2007 01:47:58 +0200

Hi,

I have an application where I provide several plugins.

I want to have the first plugin set an integer to start value and later
allow all plugins to get/set this value.

How do I do that?

I tried with NSThread threadDictionary, but this one forgets values when
I refersh my NSAutoRelease Pools.

Also NSPasteboard seems not to work as the data is not per application.

Any other idea?

Some global Cocoa shared object list which I can use?

Gruß
Christian
_______________________________________________

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: How to have a shared integer variable in application
      • From: Scott Stevenson <email@hidden>
    • Re: How to have a shared integer variable in application
      • From: Dominik Pich <email@hidden>
  • Prev by Date: Re: creating classes on the fly ??
  • Next by Date: Re: Source code for debugging
  • Previous by thread: Re: can reverse page order printing be done programmatically?
  • Next by thread: Re: How to have a shared integer variable in application
  • Index(es):
    • Date
    • Thread