I have a class with several IBOtlets:

```
@interface MainDreamer : NSWindow <NSWindowDelegate>
{    
    IBOutlet NSTextField *dreamField;
    IBOutlet NSTableView *dreamTable;    
    IBOutlet NSImageView *dreamview;

    IBOutlet NSMutableArray *dreamlist;  
    IBOutlet NSMutableArray *dataset;
}

```

Everything is all right, but only in mouseUp event handler:

```
- (void) mouseUp:(NSEvent *)theEvent{
    [super mouseUp:theEvent];
    long index = [dreamTable selectedRow];
    Dream *dr = [dataset objectAtIndex:index];
    dr.dreampicture = dreamview.image;
    [dataset replaceObjectAtIndex:index withObject:dr];
}

```

all of them turn into NULL. 

How to get access to IBOutlets inside event handler?