RE: Swapping isa's (was Re: Hex Edit controls (resknife))
RE: Swapping isa's (was Re: Hex Edit controls (resknife))
- Subject: RE: Swapping isa's (was Re: Hex Edit controls (resknife))
- From: Jeff Laing <email@hidden>
- Date: Thu, 2 Dec 2004 13:16:24 +1100
> BTW, if you want to create your interface in code instead of using IB,
I don't *want* to. I just see it as the default inference if I have to have
code somewhere that knows about all the connections that are there (in a
test suite)
> nothing's stopping you from doing that. Just create a window and set
> its content view. Use NSView's -addSubview methods to add more views
> below that. Use NSControl's -setAction: and -setTarget: methods to
> connect to action methods in your controller. And so forth. Anything
> you can do visually with IB can also be done in code.
One thing I've looked for, and couldn't find, was the "springs" definitions.
Where exactly is that stuff retrievable / settable?
This was the one piece that stopped me from pursuing a roll-my-own solution.
I already have, from a previous life, lots of "auto-layout" logic so I could
just fling a list of control specs at it, and it would give me the
appropriate window on-screen, for the subset of window types that I do. But
I couldn't work out how to make it auto-resize.
> Another alternative is Renaissance. It loads interfaces from an XML
> description instead of a binary NIB.
> <http://www.gnustep.it/Renaissance/>
I'll take a look, thanks for the pointer.
> If you don't want to use IB, you're certainly in the minority - but
> you're not entirely on your own. There are alternatives.
Remember, I'm not saying I don't want to use it. I'm saying that in my
experience to this point, I've lost more ease of development (debuggability,
verifiability), and time (unpredictable crashes during editing, need to
rebuild nibs after corruption) than I've gained from this productivity tool.
_______________________________________________
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