• 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
NSTableView philosophy question.. (MVC Pattern) where to put the dataSource delegate?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView philosophy question.. (MVC Pattern) where to put the dataSource delegate?


  • Subject: NSTableView philosophy question.. (MVC Pattern) where to put the dataSource delegate?
  • From: email@hidden
  • Date: Tue, 25 Jun 2002 11:13:37 -0500

I have a nice little doc app with a pretty decent MVC pattern I think..
I have a NSDocument sub-class to handle the document level stuff, a NSWindowController to handle the UI interface,
and even a DocumentSettings type class for the data model (i.e. right from the Vermont Recipes stuff!)

Anyway, I just added a table view and was wondering where is the "appropriate" place to put the
NSTableView dataSource delegation methods?? My first inkling is the appropriate NSWindowController sub-class
but I also was thinking maybe the NSDocument sub-class??

Just want to keep a clean paradigm here so was wondering what the "Best Practices" method is for this pattern..

TIA!

-Steve
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSTableView philosophy question.. (MVC Pattern) where to put the dataSource delegate?
      • From: Bill Cheeseman <email@hidden>
References: 
 >Re: Vanishing Toolbar, Part III (From: Carl Jochen Norum <email@hidden>)

  • Prev by Date: Re: Vanishing Toolbar, Part III
  • Next by Date: NSTextStorage Problems - re-post
  • Previous by thread: Re: Vanishing Toolbar, Part III
  • Next by thread: Re: NSTableView philosophy question.. (MVC Pattern) where to put the dataSource delegate?
  • Index(es):
    • Date
    • Thread