• 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: Hex Edit controls (resknife)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >RE: Hex Edit controls (resknife) (From: Jeff Laing <email@hidden>)

  • Prev by Date: RE: Hex Edit controls (resknife)
  • Next by Date: Re: [ANN] CCDTextField, CCDProgressIndicator
  • Previous by thread: RE: Hex Edit controls (resknife)
  • Next by thread: Re: Hex Edit controls (resknife)
  • Index(es):
    • Date
    • Thread