• 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: Anybody know why instantiateNibWithOwner:topLevelObjects: was deprecated?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Anybody know why instantiateNibWithOwner:topLevelObjects: was deprecated?


  • Subject: Re: Anybody know why instantiateNibWithOwner:topLevelObjects: was deprecated?
  • From: Britt Durbrow <email@hidden>
  • Date: Thu, 02 Aug 2012 18:26:05 -0700

On Aug 2, 2012, at 6:10 PM, Kyle Sluder <email@hidden> wrote:

> On Thu, Aug 2, 2012, at 05:52 PM, Britt Durbrow wrote:
>> Well... the subject line kinda says it all... before I file a bug... does
>> anybody know why NSNib's instantiateNibWithOwner:topLevelObjects: was
>> deprecated?
>
> Because there's better API now: -[NSNib
> instantiateWithOwner:topLevelObjects:] adopts the much saner memory
> management that -[UINib instantiateWithOwner:options:] has.
>
> Alas, the new method's name is extremely similar to the deprecated
> method. I lobbied for a better name during the beta, but to no avail.
>
> Also, distressingly, -[NSNib initWithContentsOfURL:], -[NSNib
> instantiateNibWithExternalNameTable:], and all the NSBundle nib-loading
> additions are only soft-deprecated in the 10.8 SDK; thankfully, at least
> the old NSNib designated initializer is hard-deprecated.
>
> --Kyle Sluder

Which is, (very conveniently :-) missing from the class documentation.

Thanks for the heads-up!
_______________________________________________

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: Anybody know why instantiateNibWithOwner:topLevelObjects: was deprecated?
      • From: Kyle Sluder <email@hidden>
References: 
 >Anybody know why instantiateNibWithOwner:topLevelObjects: was deprecated? (From: Britt Durbrow <email@hidden>)
 >Re: Anybody know why instantiateNibWithOwner:topLevelObjects: was deprecated? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Icon Overlay on Mac OSX
  • Next by Date: Dragging map annotations
  • Previous by thread: Re: Anybody know why instantiateNibWithOwner:topLevelObjects: was deprecated?
  • Next by thread: Re: Anybody know why instantiateNibWithOwner:topLevelObjects: was deprecated?
  • Index(es):
    • Date
    • Thread