• 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
Cocoa bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Cocoa bug?
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: Re: button text
  • Next by Date: Re: Guidance needed: IrDa
  • Previous by thread: Chile
  • Next by thread: Re: Cocoa bug?
  • Index(es):
    • Date
    • Thread