showing window causes EXC_BAD_ACCESS
showing window causes EXC_BAD_ACCESS
- Subject: showing window causes EXC_BAD_ACCESS
- From: Daniel Child <email@hidden>
- Date: Thu, 25 Sep 2008 16:17:10 -0400
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 (email@hidden)
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:
This email sent to email@hidden