cocoa - Find out the working folder in a Foundation executable? -
I have a console program that is connected to the Foundation framework on the Mac However, How to find strong> Folders in executable?
Although the tool is not in the bundle, you can still do some NSBundle
Can be used. For example:
NSString * binaryPath = [[NSBundle main bundle] executable path]; NSString * Executable Folder = [Binary Path String Bideling Text Text Company];
Comments
Post a Comment