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

Controlling controllers?


  • Subject: Controlling controllers?
  • From: Deirdre Saoirse Moen <email@hidden>
  • Date: Tue, 8 May 2001 14:53:36 -0700

This isn't really strictly a Cocoa question, but I'm wondering if someone has a better way of implementing these concepts.

I am working on a piece of garment design software, specifically knitwear design. So, a garment has a stitch pattern (well, it can have many, but one will do for starters), a garment shape, and a set of measurements.

Each of these things is a separate file and keeping the concepts straight is warping my brain. So, is the correct tree something like this?

(ascii art best viewed in monospace font)

Garment Controller -----> View
/ | \
Stitch Ctrlr Shape Ctrlr Measurement Controller
/ | / \ / \
Model View Model View Model View

Or is there a better way of doing this?

It strikes me that adding another layer for the "current stitch" pattern might work well for allowing multiple stitches -- after all, one is only doing one pattern at a time.


  • Prev by Date: Re: NSAppleEventManager (id)hanlder
  • Next by Date: Re: And another thing I don't quite understand... ;-)
  • Previous by thread: Re: NSAppleEventManager (id)hanlder
  • Next by thread: One more NSToolbar question
  • Index(es):
    • Date
    • Thread