Skip navigation.
 
mlNSToolbarItem action problem
FROM : alex
DATE : Mon Nov 22 22:44:07 2004

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

Related mailsAuthorDate
mlNSToolbarItem action problem alex Nov 22, 22:44
mlRe: NSToolbarItem action problem Sherm Pendley Nov 22, 22:52