Skip to content

Instantly share code, notes, and snippets.

@ChristianKienle
Created March 6, 2012 15:10
Show Gist options
  • Select an option

  • Save ChristianKienle/1986731 to your computer and use it in GitHub Desktop.

Select an option

Save ChristianKienle/1986731 to your computer and use it in GitHub Desktop.
NSURL *a = [NSURL fileURLWithPath:@"/Users/cmk"];
NSURL *b = [NSURL fileURLWithPath:@"/Users/cmk/"];
NSLog(@"equal: %i", [a isEqual:b]); // => output: equal: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment