Re: Cocoa class extension best practice
Re: Cocoa class extension best practice
- Subject: Re: Cocoa class extension best practice
- From: Andy Lee <email@hidden>
- Date: Tue, 15 Oct 2013 17:12:35 -0400
On Oct 15, 2013, at 5:05 PM, Andy Lee <email@hidden> wrote:
> Then instead of [self itemArray] you could use [self nonLeakingItemArray].
If you are indeed subclassing, even better would be to override itemArray to return [self nonLeakingItemArray]. Then you can use [self itemArray] everywhere else and the code looks "normal".
--Andy
_______________________________________________
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