Re: Embedding resources in Static Cocoa Library

2012-10-06 Thread Quincey Morris
On Oct 5, 2012, at 22:18 , Jerry Krinock je...@ieee.org wrote: I know you can embed an Info.plist in a command-line tool, by specifying it in the Info.plist Build Setting. But the only non-executable thing I've ever seen embedded in a static library is a code signature. A static library

Re: NSViewController

2012-10-06 Thread BlueBoy
Shouldn't that be: m_SNPreferencesViewController = [[SNPreferencesViewController alloc] initWithNibName:@SNPreferencesViewController bundle:nil]; Why the cast? Surely it's NSViewController's initWithNibName:bundle: that's being called in your code. On 06 Oct 2012, at 04:38, koko wrote:

Re: dropping alias file on NSPathControl with App Sandbox

2012-10-06 Thread Mike Abdullah
Hi Sean, Sandboxed apps can resolve aliases and follow symlinks, but unless the destination is within their sandbox already they do not gain access to it, sadly. I recommend filing a radar requesting this. On 5 Oct 2012, at 20:40, Sean McBride s...@rogue-research.com wrote: Hi all,

Re: NSViewController

2012-10-06 Thread koko
On Oct 6, 2012, at 2:14 AM, BlueBoy wrote: Why the cast? Without the cast you get a warning but I guess the biggest faux pas is that I should be calling Alloc on SNPreferencesController no NSViewController as Fritz and Ben pointed out. -koko ___

Re: Static Cocoa Library

2012-10-06 Thread Seth Willits
On Oct 5, 2012, at 7:23 PM, koko wrote: Where would one get these images as their is no bundle where that can be stored? Or the question is where are resources for a static coco library stored? Although it's technically possible to put images (or anything) into the library itself (const

Re: Static Cocoa Library

2012-10-06 Thread koko
On Oct 6, 2012, at 11:01 AM, Seth Willits wrote: use a framework to keep the images bundled with the library Does the Framework Bundle behave as an App Bundle, i.e. is Bundle a Bundle no matter what? -koko ___ Cocoa-dev mailing list

Re: Static Cocoa Library

2012-10-06 Thread Seth Willits
On Oct 6, 2012, at 1:05 PM, koko wrote: use a framework to keep the images bundled with the library Does the Framework Bundle behave as an App Bundle, i.e. is Bundle a Bundle no matter what? I don't know what you're asking. -- Seth Willits

Re: Static Cocoa Library

2012-10-06 Thread jonat...@mugginsoft.com
An app bundle is a bundle, and a bundle is just a specified hierarchy of code and resources. An OS X application is a bundle presented as a package.