NSToolbarItem action problem
NSToolbarItem action problem
- Subject: NSToolbarItem action problem
- From: email@hidden
- Date: Mon, 22 Nov 2004 16:44:07 -0500
I have a class that when initialized, creates an NSMutableArray. At
this point, it is valid. I set that class as the target for a
NSToolbarItem. Then i set the action to one of its methods define as
"-(void) doAction:(id)sender". When the NSToolbarItem is pressed, the
action method gets called and goes through fine. As soon as i try and
access any of my instances array data, i crash. Can i access my
instances data when im in an action like this? I checked it out, and
all my instances data is invalid only when im in an action. Whats going
on here?
thanks
Alex
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden