Re: Anybody know why instantiateNibWithOwner:topLevelObjects: was deprecated?
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