• 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
Sorry for another NEWBIE question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sorry for another NEWBIE question


  • Subject: Sorry for another NEWBIE question
  • From: Michael Becker <email@hidden>
  • Date: Wed, 19 Nov 2003 18:28:52 +0100

Hi!

Sorry to bother you all with silly newbie questions, this one is concerning programm style/techniques:

As my application develops, my AppController class files grow bigger and bigger. Usually I would try to divide the appropriate stuff up into appropriate files, but it seems as though common standard in Cocoa is to use the main controller file for anything. For example: AppController is the datasource and delegate for my TableView as well as for my NSBrowser object.#

With all the tableview delegate methods and drag and drop methods and nsbrowser delegate methods, AppController becomes more and more loaded and confusing.

But when I consider using seperate files, it seems to me that the communication makes things even more complicated.

What should I do? Put everything in the AppController or use as many classes as possible?

Thank you.

Bye,
Michael
_______________________________________________
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: Sorry for another NEWBIE question
      • From: Chris Hanson <email@hidden>
    • Re: Sorry for another NEWBIE question
      • From: "Laurent Daudelin" <email@hidden>
    • Re: Sorry for another NEWBIE question
      • From: Public Look <email@hidden>
    • RE: Sorry for another NEWBIE question
      • From: "Jonathan E. Jackel" <email@hidden>
    • Re: Sorry for another NEWBIE question
      • From: Cameron Hayne <email@hidden>
    • Re: Sorry for another NEWBIE question
      • From: Alastair Houghton <email@hidden>
  • Prev by Date: RE: Native Xcode Targets and Jaguar compatability
  • Next by Date: Re: NSNumber pointerValue
  • Previous by thread: Undo when editing table cells
  • Next by thread: Re: Sorry for another NEWBIE question
  • Index(es):
    • Date
    • Thread