MyAppDelgate *ad = [NSApp delegate];
then do something with [ad myMutableArray]
Cheers,
Brett
On 19/05/2008, at 3:03 PM, Joey None wrote:
Hello all,
I hope someone can help me with this.
I have my ApplicationDelegate which contains a couple of
NSMutableArrays with data in them.
Then I have a few CustomNSViews classes which I have sub-classed.
I need to access the NSMutableArrays declared on the AppDelegate
class from the NSView sub-classes I have created.
Any ideas on how to do this? I know there has to be a way and have
spent all night looking for it but so far no luck.
Thank you very much for all your help!
JC
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/brett
%40process.com.au
This email sent to [EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]