Re: Cocoa and dead-code stripping
Re: Cocoa and dead-code stripping
- Subject: Re: Cocoa and dead-code stripping
- From: Uli Kusterer <email@hidden>
- Date: Mon, 2 Jul 2007 17:33:44 +0200
On 02.07.2007, at 04:31, Steve Christensen wrote:
So it sounds like, if I want to end up with reasonably-sized code,
that I should create just the classes (and methods) that I need for
a particular task. When I want to do something similar, it sounds
like I should copy the class sources into another target, add some
methods, etc., and then compile/link that version?
No! Use categories and subclasses to segment your code, so you can
just leave out a particular category or subclass where you don't need
its functionality.
Copy & Paste, when it comes to programming, is Evil(tm). [usual
caveats apply, YMMV, void where prohibited by law]
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
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