Hi,

I'm stumped. I have a button in a master window tied to a method that simply shows another window. The method is as simple as they come.

- (IBAction) showMLTableListings: (id) sender
{
        [mLTableListingsWindow makeKeyAndOrderFront: self];
}

where mLTableListingsWindow is simply the reference to the data listing window cached within the App Controller.

If I press the button in question once, the window dutifully comes up. If I close the window and press the button a second time, I get EXC_BAD_ACCESS. Debugging, I found that both self and mLTableListingsWindow still exist.

Incidentally, the tables and windows were set up automatically using the entity object in IB, as I'm simply testing a CoreData app. I didn't set any of the bindings manually. This seems to happen on a number of my automatically generated CoreData windows?

Why is this happening? How can I track down the problem?

Thanks.

Daniel
_______________________________________________

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]

Reply via email to