Re: Odd Top Level Objects Issue
Re: Odd Top Level Objects Issue
- Subject: Re: Odd Top Level Objects Issue
- From: Jonathan Dann <email@hidden>
- Date: Fri, 16 Jan 2009 21:11:59 +0100
On 16 Jan 2009, at 20:14, Shawn Erickson wrote:
On Fri, Jan 16, 2009 at 11:01 AM, Jonathan Dann <email@hidden>
wrote:
Do you know why UINib would be instantiating an NSObject at all?
Why would
this be a useful thing for it to do?
Since it is returning this to you as a top-level object when you
instantiate the nib it is highly likely that you have such an object
serialized in your nib. Do you have a simple XIB file that shows this
issue that you can share?
-Shawn
Hi Shawn,
That's the odd thing. At first I thought it would be an object in nib,
however this object doesn't show either in the IB UI or in the XML of
the XIB file.
Also, it's the same object that's returned no matter which nib I'm
loading. Indicating that UINib may be instantiating it once and, for
some reason, appending it to the top-level objects when the array is
returned to me.
Furthermore, the issue is replicated on both my new iMac, on which
Xcode 3.1.2 was installed today, and also my old MBP, which was wiped
yesterday and the OS and Xcode re-installed. The same issue (with
exactly the same project files) isn't occurring on a friend's
MacBook. I'm hesitant to suggest it, but maybe this is the result of
some change in the nib compiler.
Here's the offending MainWindow.xib:
Attachment:
MainWindow.xib
Description: Binary data
Thanks again for your suggestion, I appreciate it.
Jonathan
http://espresso-served-here.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden