• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Odd Top Level Objects Issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Odd Top Level Objects Issue
      • From: Jonathan Hess <email@hidden>
References: 
 >Odd Top Level Objects Issue (From: Jonathan Dann <email@hidden>)
 >Re: Odd Top Level Objects Issue (From: Kevin Cathey <email@hidden>)
 >Re: Odd Top Level Objects Issue (From: Jonathan Dann <email@hidden>)
 >Re: Odd Top Level Objects Issue (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: Odd Top Level Objects Issue
  • Next by Date: Re: User Scripts
  • Previous by thread: Re: Odd Top Level Objects Issue
  • Next by thread: Re: Odd Top Level Objects Issue
  • Index(es):
    • Date
    • Thread