Re: Swift NSOutlineView "Illegal NSOutlineView data source"
Re: Swift NSOutlineView "Illegal NSOutlineView data source"
- Subject: Re: Swift NSOutlineView "Illegal NSOutlineView data source"
- From: Rick Mann <email@hidden>
- Date: Fri, 31 Jul 2015 15:30:17 -0700
Yeah, it really does sound like that, doesn't it? You know what? I forgot to set the class name in the view controller in the storyboard. I'm an idiot.
Thanks!
> On Jul 31, 2015, at 15:24 , Raglan T. Tiger <email@hidden> wrote:
>
> sounds like the delegate isn't set so it don't know where to look for those or the delegate is set to the wrong object
>
> -rags
>
>
>
>> On Jul 31, 2015, at 4:17 PM, Rick Mann <email@hidden> wrote:
>>
>> But I still get this at run time:
>>
>> *** Illegal NSOutlineView data source (<NSViewController: 0x6080000c6740>). Must implement outlineView:numberOfChildrenOfItem:, outlineView:isItemExpandable:, outlineView:child:ofItem: and outlineView:objectValueForTableColumn:byItem:
>
--
Rick Mann
email@hidden
_______________________________________________
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:
This email sent to email@hidden