Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash With Toolbar Items



On Thursday, July 31, 2003, at 01:13 PM, Nick Zitzmann wrote:

I suspect it's because you're autoreleasing the toolbar twice. Try changing that last line to this:

[[self window] setToolbar:toolbar];

Ahhh... Thanks. Typed it in from a tutorial and I should have known better than to trust the code because all of his tutorials have errors up the ying-yang in them, but the downloadable projects are fine.

Thanks,

Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
Q&A Columnist for REALbasic Developer Magazine - http://www.rbdeveloper.com
Webmaster for REALbasic Game Central - http://www.freaksw.com/rbgames

"Men are like a deck of cards. You'll find the occasional king, but most are jacks."
-- Laura Swenson
------------------------------------------------------------------------ ---
_______________________________________________
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.
References: 
 >Re: Crash With Toolbar Items (From: Nick Zitzmann <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.