get current path of the .app file being executed
How can I get the current path of my .app which is being executed开发者_运维问答 in cocoa mac application?
I tried using NSTask to do pwd but returns me /
I found it by using [[NSBundle mainBundle] bundlePath]
精彩评论