• 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: John Stiles <email@hidden>
  • Date: Tue, 30 Nov 2004 10:48:24 -0800

On Nov 30, 2004, at 10:46 AM, Andrew Farmer wrote:

On 29 Nov 2004, at 19:19, Jeff Laing wrote:
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???

Believe it or not, it is.

Of course, "it's writable" is a separate statement from "it isn't going to crash and burn." That one is really kind of up in the air AFAIK :) I think you are probably open to memory leaks and all sorts of other potential problems if you go this route.

_______________________________________________
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


  • Follow-Ups:
    • Swapping isa's (was Re: Hex Edit controls (resknife))
      • From: glenn andreas <email@hidden>
References: 
 >RE: Hex Edit controls (resknife) (From: Jeff Laing <email@hidden>)
 >Re: Hex Edit controls (resknife) (From: Andrew Farmer <email@hidden>)

  • Prev by Date: cross development on Jaguar
  • Next by Date: Re: cross development on Jaguar
  • Previous by thread: Re: Hex Edit controls (resknife)
  • Next by thread: Swapping isa's (was Re: Hex Edit controls (resknife))
  • Index(es):
    • Date
    • Thread