Re: Correct MVC code placement
Re: Correct MVC code placement
- Subject: Re: Correct MVC code placement
- From: Kyle Sluder <email@hidden>
- Date: Sun, 14 Jun 2009 11:27:23 -0700
NSDocument is what's known as a "model-controller" object. Your
actual model is the pipe-separated values; NSDocument allows you to
perform operations on that model. As such, I'd probably expose an
NSArray property for my list of things, and only do the
pipe-separation when reading from or writing to disk.
--Kyle Sluder
_______________________________________________
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