Subclassing NSToolbar is *almost* really good
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.