• 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: Swapping isa's (was Re: Hex Edit controls (resknife))
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Swapping isa's (was Re: Hex Edit controls (resknife))


  • Subject: Re: Swapping isa's (was Re: Hex Edit controls (resknife))
  • From: Glen Simmons <email@hidden>
  • Date: Wed, 1 Dec 2004 12:41:44 -0600

Worked fine for me. If others also have no trouble, I'd guess you have issues with your dev tools install.

Interface Builder 2.4.2 (v364)
Xcode 1.5

Glen

On 1 Dec, 2004, at 5:20 AM, Jeff Laing wrote:

This really seriously screams to me that it doesn't like having custom
NSTextView classes wired up to NSTextView widgets.  Can
anyone else get meaning from this mess?

(Please don't say, put it into bugreporter - I'm getting there...)

Ok, its in bugreporter now, and I've reproduced it even simpler. Try it yourself.

Create a new, empty NIB.
Add a new window
Add an NSTextView
Read the attached header file
Change the class of the text view to HexHexPane
Save & Exit
Open the NIB
Try to clear the "Continuous Spell Checking" for the HexHexPane
Save & Crash

If anyone can point at what I'm doing wrong, I'd be much obliged.

// ------ HexTextView.h ------
#import <Cocoa/Cocoa.h>
#import "HexWindowController.h"
@interface HexTextView : NSTextView{}
- (IBAction)clear:(id)sender;
- (IBAction)pasteAsASCII:(id)sender;
- (IBAction)pasteAsHex:(id)sender;
- (IBAction)pasteAsUnicode:(id)sender;
- (void)editData:(NSData *)data replaceBytesInRange:(NSRange)range
withData:(NSData *)newData;
@end
@interface NSTextView (HexTextView)- (void)swapForHexTextView;
@end
@interface HexOffsetPane : HexTextView{}
@end
@interface HexHexPane : HexTextView{}
@end
@interface HexAsciiPane : HexTextView{}
@end
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________ 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: Swapping isa's (was Re: Hex Edit controls (resknife)) (From: Jeff Laing <email@hidden>)

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