and when you look at the documentation for that method it was available 
starting with which OS version? 

convert your NSURL into an NSString, then use stringByAppendingPathComponent 
and convert it back to an NSURL again. Or use the string-based file methods 
instead. 

On 29-Aug-2010, at 4:22 PM, Amy Heavey wrote:

> 10.5 i386,
> 
> On 29 Aug 2010, at 9:21AM, Roland King wrote:
> 
>> What OS are you building for?
>> 
>> On 29-Aug-2010, at 4:14 PM, Amy Heavey wrote:
>> 
>>> I still get an error:
>>> 
>>> 2010-08-29 09:13:46.337 ishop[2766:10b] *** -[NSURL 
>>> URLByAppendingPathComponent:]: unrecognized selector sent to instance 
>>> 0xc6356a0
>>> 2010-08-29 09:13:46.337 ishop[2766:10b] *** -[NSURL 
>>> URLByAppendingPathComponent:]: unrecognized selector sent to instance 
>>> 0xc6356a0
>>> 
>>> Many Thanks
>>> 
>>> Amy
>>> 
>>> 
>>> 
>>> On 28 Aug 2010, at 4:08PM, David Duncan wrote:
>>> 
>>>> On Aug 28, 2010, at 8:04 AM, Amy Heavey wrote:
>>>> 
>>>>> Sorry duh!
>>>>> 
>>>>> 2010-08-28 15:55:27.961 ishop[1920:10b] *** -[NSURL 
>>>>> stringByAppendingPathComponent:]: unrecognized selector sent to instance 
>>>>> 0x16fbe0
>>>>> 2010-08-28 15:55:27.961 ishop[1920:10b] *** -[NSURL 
>>>>> stringByAppendingPathComponent:]: unrecognized selector sent to instance 
>>>>> 0x16fbe0
>>>> 
>>>> defaultImageLocation is an NSURL* (because thats what you created at the 
>>>> top of the method). You want to use -URLByAppendingPathComponent: with it.
>>>> --
>>>> David Duncan
>>>> 
>>>> _______________________________________________
>>>> 
>>>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>>>> 
>>>> Please do not post admin requests or moderator comments to the list.
>>>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>>> 
>>>> Help/Unsubscribe/Update your Subscription:
>>>> http://lists.apple.com/mailman/options/cocoa-dev/home%40willowtreecrafts.co.uk
>>>> 
>>>> This email sent to h...@willowtreecrafts.co.uk
>>> 
>>> _______________________________________________
>>> 
>>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>>> 
>>> Please do not post admin requests or moderator comments to the list.
>>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>> 
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/cocoa-dev/rols%40rols.org
>>> 
>>> This email sent to r...@rols.org
>> 
>> _______________________________________________
>> 
>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>> 
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>> 
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/cocoa-dev/home%40willowtreecrafts.co.uk
>> 
>> This email sent to h...@willowtreecrafts.co.uk
> 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to