Re: Breaking source file into multiple files?
Re: Breaking source file into multiple files?
- Subject: Re: Breaking source file into multiple files?
- From: Scott Stevenson <email@hidden>
- Date: Tue, 14 Sep 2004 19:58:13 -0700
On Sep 14, 2004, at 7:46 PM, M. Uli Kusterer wrote:
I have a source file that is getting really long and would like to
break it
up into several files for cleanliness. What is the "best approach"
for doing
this?
This one:
2. Use Categories.
[...]
Looking for the pros and cons to each.
Don't know of any cons. :)
Well, a category can't define its own instance variables. So if one of
your categories needs an instance variable, you need to declare that
waaay over in the main header file for that class.
Probably doesn't make sense to split up instance variable declarations
amongst several files anyway.
- Scott
--
Tree House Ideas
http://treehouseideas.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden