• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Including binaries and other files in a application package
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Including binaries and other files in a application package


  • Subject: Re: Including binaries and other files in a application package
  • From: Philipp Ringli <email@hidden>
  • Date: Thu, 27 Jan 2005 23:19:00 +0100

Hi,

It's really simple. NSBundle allows you to bundle the app in your program. NSTask allows you to use the app.

In XCode, you add the binary file to your project, like you would any Class file. You then use NSBundle to find the path to that resource. Then NSTask to execute the included binary.

Good Luck,
James


Thanks to everyone.
I was able to get the binaries and the file structure into the app package.
The next big hurdle will be to wrap my mind around objective-c and the cocoa framework.
Coming from actionscript, this is quite a huge step...


Expect more questions from me.

Phil

p.s. For all British people: I won't use the B-word anymore. :-)

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Including binaries and other files in a application package (From: Philipp Ringli <email@hidden>)
 >Re: Including binaries and other files in a application package (From: Sherm Pendley <email@hidden>)
 >Re: Including binaries and other files in a application package (From: James Andrews <email@hidden>)

  • Prev by Date: Re: May I pack java in a dylib?
  • Next by Date: Re: Cocoa-dev Digest, Vol 2, Issue 130
  • Previous by thread: Re: Including binaries and other files in a application package
  • Next by thread: DRDevice and path to mounted Volume
  • Index(es):
    • Date
    • Thread