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 _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
