• 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
How to split large class files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to split large class files?


  • Subject: How to split large class files?
  • From: Arthur C. <email@hidden>
  • Date: Sun, 4 Nov 2007 20:37:04 +0100
  • Importance: Normal

I have a controller class which has become quite large. It has many instance variables which are all related to the view it connects to, and which are manipulated inside the class. Is there a clear way to split such a file into two (or more) components? I considered making a category, but that's not quite good because it cannot have (new) instance variables in it. Moreover, I cannot have the instance var declarations in the original file and the code in the category; that will generate many warnings.  Any suggestions?  Thanks in advance, Arthur C.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/_______________________________________________

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: How to split large class files?
      • From: Bill Bumgarner <email@hidden>
  • Prev by Date: Re: Making bundles/packages
  • Next by Date: Re: How to split large class files?
  • Previous by thread: Re: initWithContentsOfURL question
  • Next by thread: Re: How to split large class files?
  • Index(es):
    • Date
    • Thread