• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa and dead-code stripping
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Cocoa and dead-code stripping
      • From: Steve Christensen <email@hidden>
References: 
 >Cocoa and dead-code stripping (From: Steve Christensen <email@hidden>)
 >Re: Cocoa and dead-code stripping (From: Chris Suter <email@hidden>)
 >Re: Cocoa and dead-code stripping (From: Steve Christensen <email@hidden>)

  • Prev by Date: Array controllers, table views and multiple values...
  • Next by Date: Memory Management Question
  • Previous by thread: Re: Cocoa and dead-code stripping
  • Next by thread: Re: Cocoa and dead-code stripping
  • Index(es):
    • Date
    • Thread