• 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: Loading existing NIB file from Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading existing NIB file from Cocoa?


  • Subject: Re: Loading existing NIB file from Cocoa?
  • From: Fritz Anderson <email@hidden>
  • Date: Thu, 23 Feb 2012 16:17:47 -0600

On 23 Feb 2012, at 10:49 AM, Howard Moon wrote:

> Unable to load the Interface Builder file xxxxxxxxxxxxxx.nib because the object archive is missing. Valid nib files must contain either keyedobjects.nib, objects.nib, or data.nib.
>
> 	I'm not sure how to proceed here.  Is it possible to modify my .nib file in some manner so that it works in Cocoa (and still works in Carbon)?  Or, do I have to make a new .xib for use with Cocoa, essentially doubling the work and resources in order to support both types?

As the error message says (or at least implies), Cocoa NIBs are archives of Objective-C objects, not just shareable specs. They are nothing like Carbon NIBs; you have to maintain them separately.

Carbon has had curtailed utility for the last three major versions of the OS — nearly five years now. I hear (from Wikipedia) that it's officially deprecated in Mountain Lion, so I guess you'll start seeing compiler warnings later this year. You know best, but do you really have to support Carbon any more?

	— F


_______________________________________________

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


  • Follow-Ups:
    • Re: Loading existing NIB file from Cocoa?
      • From: Howard Moon <email@hidden>
References: 
 >Loading existing NIB file from Cocoa? (From: Howard Moon <email@hidden>)

  • Prev by Date: Re: NSView mouseDown truncated coordinates
  • Next by Date: Re: text field question
  • Previous by thread: Re: Loading existing NIB file from Cocoa?
  • Next by thread: Re: Loading existing NIB file from Cocoa?
  • Index(es):
    • Date
    • Thread