Controlling controllers?
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.