RE: Hex Edit controls (resknife)
RE: Hex Edit controls (resknife)
- Subject: RE: Hex Edit controls (resknife)
- From: "M. Uli Kusterer" <email@hidden>
- Date: Tue, 30 Nov 2004 04:25:25 +0100
At 14:19 Uhr +1100 30.11.2004, Jeff Laing wrote:
Looks like it did what I was thinking I had to do, fake out the NSTextView.
I have to say, I'm not sure that the following is legal.
@implementation NSTextView (HexTextView)
- (void)swapForHexTextView
{
isa = [HexTextView class];
}
@end
Is 'isa' really writeable? Is this not going to crash and burn???
Oh, yeah, that looks like one of Nick's favorite hacks ;-) But
anyway, I think you should be able to just use this as the "custom
class" for an NSTextView created in IB without ever having to invoke
this method.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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