• 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
Re: Any NSView (subclasss drawing) Layout Persistence Frameworks around?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any NSView (subclasss drawing) Layout Persistence Frameworks around?


  • Subject: Re: Any NSView (subclasss drawing) Layout Persistence Frameworks around?
  • From: Andre <email@hidden>
  • Date: Sun, 6 Nov 2005 16:15:23 -0800


On 平成 17/11/06, at 15:02, Uli Kusterer wrote:

Am 06.11.2005 um 19:49 schrieb email@hidden:
What I am really looking for (and haven't found it yet) is a sort of box-model
that can manage the layout of say bezier paths or other abstract items inside
a custom NSView. Something like the HTML box model that simply calculates
boxes, and and handles thier interaction,especially if it were like HTML/CSS
where I can just layout default items, and sprinkle custom layout behavior
via J-Script, something like this doesn't exists in cocoa AFAIK...

Renaissance could probably be abused to do that. It was originally developed for GNUstep, but last I tried it (which was ages ago, though) it also compiled for OS X. Renaissance is a dynamic layout engine, which offers stuff kind of like Java's GridBag or other dynamic UI kits.

Thanks, yea, I forgot about that one.
I like it a lot, but I would have to take apart the layout engine and adapt it to manage arbitrary objects instead of GUI items like buttons in a window.
I'm taking a look at it.


Its because what I am drawing is not necessarily sub-views in a custom view, but pure drawing of data that has arbitrary representation,
so I just need pure layout of those "items" even if they are not NSView or NSResponder objects, or even NSCell.


Something as simple as NSTextTable has usefull functionality, but it only works within an NSTextView...
Something like an NSMatrix with columns and rows that could span and also have some smarts about them...


This is the ideal situation I'm thinking.

If the layout were say a subset of html table, then I could layout a table, set its columns and rows size as percentage of the
container view, cm, inch, etc and have actions triggered for changes to the table, if say a column was hidden,
then a method say "- tile" would get called.


...sadly a generic item layout engine doesn't seem to exist...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Any NSView (subclasss drawing) Layout Persistence Frameworks around?
      • From: Uli Kusterer <email@hidden>
References: 
 >Any NSView (subclasss drawing) Layout Persistence Frameworks around? (From: email@hidden)
 >Re: Any NSView (subclasss drawing) Layout Persistence Frameworks around? (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Cross platform Cocoa/ObjC?
  • Next by Date: Weird NSZombie memory leak issue
  • Previous by thread: Re: Any NSView (subclasss drawing) Layout Persistence Frameworks around?
  • Next by thread: Re: Any NSView (subclasss drawing) Layout Persistence Frameworks around?
  • Index(es):
    • Date
    • Thread