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: Guy English <email@hidden>
- Date: Tue, 30 Nov 2004 18:06:55 -0500
On Wed, 1 Dec 2004 09:51:20 +1100, Jeff Laing <email@hidden> wrote:
> A better reason, so far, is that <RANT>Interface Builder is the dumbest
> crappiest most insane idea that anyone ever in the history of time and space
> has invented</RANT>
Geez - that's a bit harsh. :) Personally I really like IB & actually
think it's one of the coolest things I've seen. Certainly the coolest
GUI editor ( mostly 'cause it's not only a GUI editor )
> What I really *really* hate about all this is that I'm a *programmer*, I've
> developed systems with millions of lines of code (yes, millions - I've
> counted), and Interface Builder has reduced me to pushing buttons, and
> dragging around graphics
Ok, well I'm not in front of a Mac right now but I'll try doing what
you're doing later on tonight. In the meantime just put a regular
NSTextView in there and in code call the funky swap the isa pointer
thing. :) You're not adding ivars so it should work. Alternatively,
since you dig code so much, create an instance of your class in code,
set it's properties from the standard NSTextView you've got in your
NIB, remove the standard NSTextView from the view hierarchy and
replace it with your custom subclass. That'll work for sure and as a
bonus you get a few lines of code! :)
(And, yeah, IB crashing and trashing NIBs really, really does suck.
And yeah, a text dump would be really nice too).
Later,
Guy
_______________________________________________
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