Re: Dynamic User Interface with Cocoa
Re: Dynamic User Interface with Cocoa
- Subject: Re: Dynamic User Interface with Cocoa
- From: Andrew Thompson <email@hidden>
- Date: Wed, 25 May 2005 00:32:13 -0400
On May 24, 2005, at 9:06 AM, Alexander Hartner wrote:
I don't want to start a flame war as this seems to be a hard topic to
touch on. I am looking for a nice tutorial or other information on
creating dynamic user interfaces in Cocoa. I want to put together a
custom control like the one used in the Addressbook to show and hide
additional address's.
Also any information on layout managers, if there is such a thing in
Cocoa would also be great.
I don't know of anything really resembling a layout manager, though
having written a custom one in Java I can tell you they're not that
hard to do (OK, GridBagLayout would be a bear, but the simpler ones are
reasonable).
However, there are other ways of going about things that are more
normal in Cocoa. The box, strut, spring idea, which is frankly not a
million miles from nested BorderLayouts in Java
Anyway, I thought you might like this, which I wrote a good while ago:
http://www.cocoadev.com/index.pl?
WindowOrPanelThatResizesAutomaticallyWhenItsContentChangesSize
It demonstrates some ways of doing things with cocoa views that, in my
relative ignorance, I invented for myself. In all probability there are
better ways of doing some of this, but it is a starting point for
thinking about more dynamic views in cocoa.
AndyT (lordpixel - the cat who walks through walls)
A little bigger on the inside
(see you later space cowboy ...)
_______________________________________________
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