Re: Unknown segue relationship: Prototype
Re: Unknown segue relationship: Prototype
- Subject: Re: Unknown segue relationship: Prototype
- From: Rick Mann <email@hidden>
- Date: Mon, 14 Dec 2015 16:38:10 -0800
> On Dec 14, 2015, at 16:01 , Andreas Mayer <email@hidden> wrote:
>
>
>> Am 14.12.2015 um 10:48 schrieb Rick Mann <email@hidden>:
>>
>> Googling, this appeared to be a problem with Xcode 6b, but persists in 7.1 beta versions. I'm not sure if it's still a problem. Is there any way around it?
>>
>> http://stackoverflow.com/questions/25123365/unknown-segue-relationship-prototype-with-nscollectionview
>>
>
> I did what the answer on stackoverflow suggests (i.e. load the collection view from a nib and add it in code) and that works. Didn't really try anything else.
I found that answer a bit vague, but then found a video that showed manually instantiating the view from the storyboard and setting that as the prototypeItem. Then I found the WWDC 2015 video that seems to do away with bindings altogether and uses a dataSource, and doesn't use the prototype item, but either loads from a nib or uses the class registration mechanism.
In any case, Xcode is clearly buggy, and I wrote a bug for it.
--
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