Cocoa bug?
Cocoa bug?
- Subject: Cocoa bug?
- From: Andrew Merenbach <email@hidden>
- Date: Fri, 18 Oct 2002 19:21:14 -0700
After rooting around a problem I've had with NSButtonCells, I think I
have uncovered an actual bug with Cocoa--specifically the new nib file
format--but need to verify it before I file a bug report.
What I've found is as follows: Create a new project. Create source
files for an NSButtonCell subclass in your main project (don't put any
code in them), and add the subclass to your main nib file. Also in the
nib file, drag a rounded bevel button control to the main window, and
option drag the lower-right corner to make it into a matrix--say, 2x2.
Change the class of each individual button cell in this matrix to your
special NSButtonCell subclass. Finally, save the nib file *in the NEW,
OS 10.2 nib format*. Compile and run your application. It will quit.
Perhaps there's something I've missed? Some initialization that needs
to occur? I haven't seen anything in the release notes. Also, if you
try saving your nib in the old 10.1 format, your application should
then run perfectly, without quitting.
Take care,
Andrew Merenbach
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.