Re: packaging external binaries
Re: packaging external binaries
- Subject: Re: packaging external binaries
- From: Eric Peyton <email@hidden>
- Date: Fri, 29 Jun 2001 09:10:40 -0500
Add your binary as a resource in to the project (as if it was an
image, for example) and your data file as a reosurce in the project.
Then access the binary using the [[NSBundle mainBundle]
pathForResource:@"<binary name>" ofType:@""]; and do the same with
the data file. NSBundle makes it very easy.
It's easy as apple pie :-)
Eric
On Friday, June 29, 2001, at 12:14 AM, Darin Duphorne wrote:
Now that the NSTask is working, is it possible to bundle the
binary and its data file within the application bundle so that
they aren't separate files for install and so that they don't get
moved out of the proper path?
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev