• 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
Cocoa patterns?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cocoa patterns?


  • Subject: Cocoa patterns?
  • From: brian hook <email@hidden>
  • Date: Sat, 25 Aug 2001 22:21:07 -0700

I'm relatively new to the world of Cocoa/Obj-C and am embarking on building my first (fairly large) app in Cocoa. Unfortunately the app seems slightly more complex than the typical multiple document app, but this may be a result of my confusion more than anything else. I've read "Learning Cocoa" and most of the docs on the Apple developer site.

The app I'm doing is basically a "workspace" style app, similar to ProjectBuilder. When I say "workspace" I mean "an application that has a plethora of different editors for different types".

I'm not sure the right way to architect the app in terms of MVC. My naive way of looking at it is that I'll have a "metacontroller" which possesses several multiple document controllers. The application workspace is the metacontroller and, in turn, controls the various specific object editors through their own controllers. Each type of object editor adheres to a multiple document MVC paradigm. Does this sound like the right path?

On a slightly related note, and the reason for the subject line, is that I assume there is a repository of information about design patterns in Cocoa, i.e. stuff the old-hands use matter-of-factly that the newbies don't know about.

For example, how do most people use IB in a production development environment? Do they tend to use it early to generate files then don't touch them, or do they commonly rearchitect the UI throughout the project and deal with any side effects as they crop up?

Thanks,

Brian Hook


  • Follow-Ups:
    • Re: Cocoa patterns?
      • From: Georg Tuparev <email@hidden>
References: 
 >Finding keyboard state in Cocoa (From: "Tony" <email@hidden>)

  • Prev by Date: Finding keyboard state in Cocoa
  • Next by Date: Modal run loop input sources
  • Previous by thread: Finding keyboard state in Cocoa
  • Next by thread: Re: Cocoa patterns?
  • Index(es):
    • Date
    • Thread