(Solved) Re: Toolbar Problem
(Solved) Re: Toolbar Problem
- Subject: (Solved) Re: Toolbar Problem
- From: Joseph Jones <email@hidden>
- Date: Tue, 31 Dec 2002 14:46:50 -0800
It seems you have to have 48x48 icons created on iconComposer. At least that
is what I had to do to get this working.
Joe
>
From: Joseph Jones <email@hidden>
>
Date: Tue, 31 Dec 2002 14:19:16 -0800
>
To: Kevin Callahan <email@hidden>, Cocoa Dev <email@hidden>
>
Subject: Re: Toolbar Problem
>
>
Figured out...DOH! I was using init instead of intiWithItemIdentifier for my
>
toolbar item. Jeeze...
>
>
However, I am now seeing an interesting issue with my icons and trying to
>
use them. The first icon loaded seems to work fine, but after that I get the
>
following error and none of the rest of the toolbar icons wants to load:
>
>
TIFF Error: Unknown data compression algorithm 7 (0x7).
>
>
I created the icns files using IconComposer. I don't see how it could work
>
there and yet throw errors in my code when I try to load them.
>
>
Thanx,
>
Joe
>
>
> From: Kevin Callahan <email@hidden>
>
> Date: Tue, 31 Dec 2002 14:10:16 -0800
>
> To: Joseph Jones <email@hidden>
>
> Subject: Re: Toolbar Problem
>
>
>
>
>
> does your app crash ?
>
>
>
> are you sure there some object hasn't been released that you think you
>
> are putting in the array?
>
> also, are your images for the toolbar items being found?
>
>
>
> without seeing some of your code, it's hard to say
>
>
>
> k
>
>
>
>
>
> On Tuesday, December 31, 2002, at 02:06 PM, Joseph Jones wrote:
>
>
>
>> I have no idea as the error occurs deep in the frameworks and not in my
>
>> code.
>
>>
>
>> Joe
>
>>
>
>>
>
>>> From: Kevin Callahan <email@hidden>
>
>>> Date: Tue, 31 Dec 2002 13:46:18 -0800
>
>>> To: Joseph Jones <email@hidden>
>
>>> Subject: Re: Toolbar Problem
>
>>>
>
>>> what is withObject's argument?
>
>>>
>
>>> Kevin
>
>>>
>
>>> On Tuesday, December 31, 2002, at 01:35 PM, Joseph Jones wrote:
>
>>>
>
>>>> Hi,
>
>>>>
>
>>>> I am trying to add a toolbar to my application. Everything goes
>
>>>> fine up
>
>>>> to the point I get called to create the Toolbar Items. I fill in all
>
>>>> the
>
>>>> info, but as soon as I return from the delegate method I get this
>
>>>> exception
>
>>>> thrown:
>
>>>>
>
>>>> 2002-12-31 13:32:48.138 PMX[9945] *** -[NSCFArray
>
>>>> replaceObjectAtIndex:withObject:]: attempt to insert nil
>
>>>>
>
>>>> I can't figure out what part of the toolbar item is nil as I am
>
>>>> filling
>
>>>> everything in correctly.
>
>>>>
>
>>>> Any help on this is greatly appreciated.
>
>>>>
>
>>>> Thanx,
>
>>>> Joe
>
>>>> _______________________________________________
>
>>>> 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.
>
_______________________________________________
>
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.
_______________________________________________
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.