• 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
Flogging a dead horse (was isa swapping, resknife sources, interf ace builder crashing)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Flogging a dead horse (was isa swapping, resknife sources, interf ace builder crashing)


  • Subject: Flogging a dead horse (was isa swapping, resknife sources, interf ace builder crashing)
  • From: Jeff Laing <email@hidden>
  • Date: Tue, 7 Dec 2004 10:59:19 +1100

> From: Darkshadow [mailto:email@hidden]
> It looks like it doesn't handle the textStorage section.  If that's
> exactly how nibtool is outputting it, then it looks like it's
> not being set right somehow.  Anyway, I have a subclassed NSTextView in
> one of my nibs; here's how nibtool's output looks for it:
> [snip]
> Don't know if any of this is going to help you, but hopefully
> it gives you a direction to look in.

Last night I tried removing the initial text from all my NSTextViews and I
was then able to successfully change to custom classes just fine.  When I
added a single character to one of them and saved, Interface Builder crashed
and the NIB became corrupted (nibtool could not open it, and when I looked
inside, it was missing the objects.nib file)

I would really appreciate it if those who tried to replicate my problem
earlier, would try again but this time put some initial text into the
NSTextView prior to changing to the custom class.

Frustratingly, the HexWindow code needs the initial text there because thats
how it pre-sets the font to mono-spaced, which is a requirement for its
hackery to work.  I guess I can tweak it at load time so its not tragic, but
it is annoying.

Thanks in advance,

Jeff.
 _______________________________________________
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

  • Prev by Date: Re: NSBox Title Position
  • Next by Date: Re: Which class methods return autoreleased objects?
  • Previous by thread: coreaudio sdk -- for jaguar & project buider?
  • Next by thread: Release understanding help…
  • Index(es):
    • Date
    • Thread