> On Aug 12, 2015, at 8:07 PM, André Francisco <andre.frate...@hotmail.com> > wrote: > > I've been reading about object initialisation in Objective-c, as well as the > recent additions of NS_UNAVAILABLE and NS_DESIGNATED_INITIALIZER. It's been > confusing what the correct approach would be, mostly due to limitations > imposed by the compiler. My main goal is obviously to ensure proper object > initialisation, both when an object is directly instantiated and when a > constructor call is propagated by a child subclass.
Don’t sweat it — you may be overthinking this. In practice it’s not a big problem (I’ve only run into issues related to this a few times), and in the long run it’s fixed by Swift. —Jens _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com