• 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
What controller functions should be implemented in what files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What controller functions should be implemented in what files?


  • Subject: What controller functions should be implemented in what files?
  • From: Paul Johnson <email@hidden>
  • Date: Sat, 18 Sep 2010 21:59:05 -0500

I'm really unclear on how to structure my program, in particular the
controllers.  In IB I dragged a 'Window and Drawer' to the document window.
In the drawer I have a Table View, and I have another Table View in the Main
Window. I want to be able to drag a selection from the Drawer to the Window.


I expect the program to grow in complexity and I want to take that into
account from the beginning.


I am using Core Data to model the data for the Drawer's Table View and for
the Document's Table View. (I have two models.)


My question is, how should I created the Controller file(s). Should I create
separate controller files for the Drawer and Main Window?


In general, does anyone have any guidelines on how one "partitions" the
controller functions into files?
_______________________________________________

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: What controller functions should be implemented in what files?
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Linked List
  • Next by Date: Re: What controller functions should be implemented in what files?
  • Previous by thread: Re: Linked List
  • Next by thread: Re: What controller functions should be implemented in what files?
  • Index(es):
    • Date
    • Thread