Thursday, 12 September 2013

How can I join path fragments using objective-C in iOS?

How can I join path fragments using objective-C in iOS?

What's the objective-C equivalent of python's os.path.join in iOS? e.g.:
>>> import os
>>> os.path.join("foo", "bar", "buuxometer", "hi.jpg")
'foo/bar/buuxometer/hi.jpg'

No comments:

Post a Comment