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
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 mails | Author | Date |
|---|---|---|
| alex | Nov 22, 22:44 | |
| Sherm Pendley | Nov 22, 22:52 |






Cocoa mail archive

