On Mar 25, 2014, at 12:50 AM, Uli Kusterer <witness.of.teacht...@gmx.net> wrote:

> On 25 Mar 2014, at 02:36, Seth Willits <sli...@araelium.com> wrote:
>> 2. Either call initWithNibName:bundle: or override nibName. Don't rely on 
>> NSVC being smart and appropriately grabbing a file with the desired name. 
>> Offhand, I believe this is documented to be supported on iOS, but no such 
>> documentation or feature exists on OS X. I've (accidentally) experienced it 
>> picking a nib automatically on OS X, but it was always picking the wrong nib.
> 
> IIRC OS X just picks the last nib loaded before the view controller was 
> created and loads it again. Makes for hilarious behaviour in cases where it 
> doesn’t crash right away.

I believe that's what I always saw too. Someone on the AppKit team having a 
good laugh, I suppose. ;-)


--
Seth Willits

_______________________________________________

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