Re: self Changes on Open Panel
Re: self Changes on Open Panel
- Subject: Re: self Changes on Open Panel
- From: Fritz Anderson <email@hidden>
- Date: Mon, 8 Jun 2009 22:55:46 -0700
On 8 Jun 2009, at 10:02 PM, K. Darcy Otto wrote:
The sheet opens at *. Two questions: (i) why is MyDocument at a
different address before and after * (incidentally, it changes back
to 0x1036290 after the sheet has closed)? (ii) Why is sheetOpen
(which is a class variable) not YES after * (in fact, under no
circumstances does it return a YES, before, during or after the
sheet)?
What you're describing isn't one object moving around and "resetting"
its contents. What you're seeing are two different objects.
Are you instantiating a MyDocument within your NIB? Don't. Documents
get created by AppKit, in memory. They are represented by "File's
Owner" in Interface Builder. Adding a new one in the NIB will get you
a second document.
— F
--
Fritz Anderson -- Xcode 3 Unleashed: Now in its second printing -- <http://x3u.manoverboard.org/
>
_______________________________________________
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