• 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: Properly comparing file NSURLs for equality?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Properly comparing file NSURLs for equality?


  • Subject: Re: Properly comparing file NSURLs for equality?
  • From: Peter Lübke <email@hidden>
  • Date: Sat, 28 May 2011 03:06:56 +0200

Douglas,

That's perfect! But for, shall we say, older cats :), would be next best thing be CFURLGetFSRef() & FSCompareFSRefs()? It seems ideal since it solves the problem of needing to canonicalize paths.

Peter, I tried absoluteURL but it doesn't change the result when the difference is only the 'localhost' part. :(


Yes I know.
( [myAnswer wasAbsolutelyPointless] == YES );


Am 28.05.2011 um 01:38 schrieb Peter Lübke:

[ [someURL absoluteURL] isEqual:[otherURL absoluteURL]] should return correct results.

_______________________________________________

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


References: 
 >Properly comparing file NSURLs for equality? (From: Sean McBride <email@hidden>)
 >Re: Properly comparing file NSURLs for equality? (From: Peter Lübke <email@hidden>)

  • Prev by Date: Re: Properly comparing file NSURLs for equality?
  • Next by Date: Re: Comprehensible tutorial for Accessorizer?
  • Previous by thread: Re: Properly comparing file NSURLs for equality?
  • Next by thread: Re: Properly comparing file NSURLs for equality?
  • Index(es):
    • Date
    • Thread