• 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
Re: NSString / NSURL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString / NSURL


  • Subject: Re: NSString / NSURL
  • From: David Duncan <email@hidden>
  • Date: Sat, 28 Aug 2010 08:08:41 -0700

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 (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSString / NSURL
      • From: Amy Heavey <email@hidden>
References: 
 >NSString / NSURL (From: Amy Heavey <email@hidden>)
 >Re: NSString / NSURL (From: David Duncan <email@hidden>)
 >Re: NSString / NSURL (From: Amy Heavey <email@hidden>)

  • Prev by Date: Re: NSString / NSURL
  • Next by Date: Re: Changing tabview tab order with IB 3.2.3
  • Previous by thread: Re: NSString / NSURL
  • Next by thread: Re: NSString / NSURL
  • Index(es):
    • Date
    • Thread