> On 16 Mar 2016, at 07:02, Quincey Morris 
> <quinceymor...@rivergatesoftware.com> wrote:
> 
> On Mar 7, 2016, at 09:29 , Frank Bitterlich <bitterli...@gsco.de> wrote:
>> 
>> Does anybody have a suggestion what this could be?
> 
> It sort of sounds like your main XIB or storyboard is failing to load. 
> Possibly your file is set to compile for a later version of OS X than your 
> deployment target.

In my case I had refactored which resulted in a nil nib name being sent to an 
NSViewController designated initialiser

- (nullable instancetype)initWithNibName:(nullable NSString *)nibNameOrNil 
bundle:(nullable NSBundle *)nibBundleOrNil 

On 10.10 and higher, a nil nibName can be used, and NSViewController will 
automatically attempt to load a view with the same class name. See loadView for 
more information.

On 10.9 and below sending a nil nib name causes unreliable behaviour - IIRC It 
may be that the last nib loaded gets reused.

J


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to