Re: Static Cocoa Library

2012-10-06 Thread Graham Cox
On 07/10/2012, at 7:05 AM, koko wrote: > > 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? A framework is not the same thing as

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. http://developer.apple.com/library/mac/#documentation/CoreFoundation/Conceptual/CFBundles/AboutBundles/AboutBundles.html#//apple_ref/doc/uid/112

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 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 (Cocoa-dev@lis

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 (cons

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: 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 wrote: > Hi all, > > NSOpenPanal takes care of r

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: