• 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
Subclassing NSToolbar is *almost* really good
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Subclassing NSToolbar is *almost* really good


  • Subject: Subclassing NSToolbar is *almost* really good
  • From: John Lombardo <email@hidden>
  • Date: Tue, 4 May 2004 01:29:47 +0800

It would be fully good if it didn't explode whenever I try to run the
customization palette either programatically or by right-clicking on
the toolbar and selecting Customize Toolbar. By "explode" I mean
spewing out half a dozen of the following:

2004-05-04 00:29:40.844 BBToolbarTest[2174] ***
-[NSAttributeDictionary selectedItemIdentifier]: selector not
recognized

No customization palette is produced. Then, when I click some
no-longer-functional toolbar items and then quit the app I get the
following message:

*** malloc[2174]: Deallocation of a pointer not malloced: 0xbfffe420;
This could be a double free(), or free() called with the middle of an
allocated block; Try setting environment variable MallocHelp to see
tools to help debug

I've been going crazy trying to figure out where the first message is
coming from. I've created a little demo Xcode project demonstrating the
subclass in all its glory hoping that someone may care to check it out
and spot a something that I missed.
http://betterbomb.com/BBToolbarTest.zip

Cheers!
john
_______________________________________________
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: Subclassing NSToolbar is *almost* really good
      • From: "Louis C. Sacha" <email@hidden>
    • Re: Subclassing NSToolbar is *almost* really good
      • From: Chris Giordano <email@hidden>
  • Prev by Date: Re: Obj-C in a dylib
  • Next by Date: Re: FullScreen and Panel
  • Previous by thread: NSFont fontWithName: matrix:
  • Next by thread: Re: Subclassing NSToolbar is *almost* really good
  • Index(es):
    • Date
    • Thread