Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AFConvert and Core Audio file conversion




Le 21 févr. 08 à 21:41, Nick Zitzmann a écrit :


On Feb 21, 2008, at 10:09 AM, Dave Verwer wrote:

This is unfortunate because it seems that it does exactly what I need,
so I had the thought to bundle it inside my app package and use it
from there. I realise I could cobble together the core audio
frameworks to do what I want as well but why reinvent the wheel eh?


Are there any best practices when bundling foundation tools?


Just place it in either the Contents/MacOS or Contents/Resources folder in your bundle & use NSBundle to get its path. It's pretty simple, actually...

Nick Zitzmann
<http://www.chronosnet.com/>

As you ask about good practice, you should note this (from the Code Signing Release Notes):


Do not put helper applications, plugins, and other separately signed code into the Resources directory of a bundle. The Resources directory is directly sealed to the main executable. Put plugins into the Plug- Ins directory. Put helper tools into the executable directory. Put helper applications (with their own bundles) into the support directory._______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >AFConvert and Core Audio file conversion (From: "Dave Verwer" <email@hidden>)
 >Re: AFConvert and Core Audio file conversion (From: Nick Zitzmann <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.