Gary, I am working on an application that supports the old fashioned research 
process of using 3x5 index cards to hold sources and research notes.

I have a hierarchy of NSView sub-classes to represent the cards. At the top of 
the hierarchy is CardView which simply provides the ability to drag and resize 
with the option of placing any number of other “controls” (NSBezierPaths) 
around the border of the card for arbitrary operations.

Next layer down in the class hierarchy are “cards" that hold content subviews. 
For example, there is the OutlineCardView, where the content is an 
NSOutlineView, used to hold generic information in an outline form. 
Functionality added at this layer in the hierarchy includes editing the outline 
with undo and redo and commit, things like that.

At the next layer down are cards that represent particular types of 
information. For example, there is a PersonCardView that represents 
genealogical data about a person expressed in outline form and displayed in an 
NSOutlineView. Functionality added at this layer in the hierarchy includes 
knowledge of life events, relationships between persons, dates, places, and so 
on.

The overall look and feel of this application, as I mentioned to David, is as a 
large work surface (a near full screen NSWindow) with lots of instances of 
CardView subclasses that the user can move around, access, put away, search for 
and bring in, and so forth, while thinking through a research project.

I’m not sure how a NSSplitView will particularly solve my resizing problems, 
but as I implied, I am struggling to learn the best way to get to my goals, and 
my direction could now be in a dark alley.

Tom Wetmore

> On Jul 20, 2015, at 4:50 PM, Gary L. Wade <garyw...@desisoftsystems.com> 
> wrote:
> 
> Depending on your design, why not just use an NSSplitView to do all that for 
> you?
> --
> Gary L. Wade (Sent from my iPhone)
> http://www.garywade.com/


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to