re: about framework
re: about framework
- Subject: re: about framework
- From: George Warner <email@hidden>
- Date: Wed, 03 Dec 2003 08:59:47 -0800
On Wed, 3 Dec 2003 17:59:43 +0800, "Chong Hiu Pun" <email@hidden>
wrote:
> I make a framework and deploy into another MAC OS X 10.3 machine by copying
> the framework to /System/Library/Frameworks/My.framework) .
/System/Library/Frameworks belongs to Apple. You should put your framework
in /Library/Frameworks.
> The framework will
> open text file and do some processing. However, when my command-line program
> call this framework, it cannot located the text files (I placed the text files
> in the same directory of the executable) . If I copy those text files to the
> framework directory, the result is the same. How should I solve it? Thank you
> very much.
You should probably put the text files into the resources directory of the
framework and then use the bundle API's to find that directory to open those
files.
--
Enjoy,
George Warner,
Schizophrenic Optimization Scientists
Apple Developer Technical Support (DTS)
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.