• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unknown segue relationship: Prototype
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Unknown segue relationship: Prototype (From: Rick Mann <email@hidden>)
 >Re: Unknown segue relationship: Prototype (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Implementing some .swift class methods in .mm file?
  • Next by Date: Re: Problem loading a CoreDataModel from a Static library in Swift
  • Previous by thread: Re: Unknown segue relationship: Prototype
  • Next by thread: Problem loading a CoreDataModel from a Static library in Swift
  • Index(es):
    • Date
    • Thread