Re: Where to put dataSource routines
Re: Where to put dataSource routines
- Subject: Re: Where to put dataSource routines
- From: Bill Cheeseman <email@hidden>
- Date: Thu, 25 Apr 2002 13:14:43 -0400
on 02-04-25 12:12 PM, Julian Barkway at email@hidden wrote:
>
Why not place all the data source methods in a separate source file but
>
with their own specific category within the controller class? This way
>
you get the advantages of physical separation combined with the
>
advantages of logical coupling. That's how I do it.
I use categories in this way for several things. But there are typically
only three data source methods to be implemented, so it seems like overkill
to put them in a separate source file. This is only an organizational tool,
though, so I guess it's more a matter of personal preference than anything
else.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.