What is the "main bundle" of a command-line foundation tool?

Q: What is the main bundle of a command-line foundation tool?

A: The main bundle of a command-line foundation tool is considered to be the tool's enclosing directory. That directory is what will be returned by the [NSBundle mainBundle] call. For exampe, a foundation tool binary located in: /path/to/tool would have the main bundle path returned as: /path/to/tool.

Document Revision History

DateNotes
2006-10-10First Version

Posted: 2006-10-10


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.