views:

21

answers:

1

Hey all, this should be pretty simple to answer:

Is there a property of a NSURL such as lastPathComponent and StringByDeletingPathExtension that actually gives you just the extension instead?

If so, what is it? Thanks!

+2  A: 

See -pathExtension method:

pathExtension Returns the path extension of a file URL.

Vladimir