How to have a shared integer variable in application
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