Re: Unknown segue relationship: Prototype

2015-12-14 Thread Rick Mann

> On Dec 14, 2015, at 16:01 , Andreas Mayer  wrote:
> 
> 
>> Am 14.12.2015 um 10:48 schrieb Rick Mann :
>> 
>> 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
rm...@latencyzero.com



___

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

Re: Unknown segue relationship: Prototype

2015-12-14 Thread Andreas Mayer

> Am 14.12.2015 um 10:48 schrieb Rick Mann :
> 
> 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.


Andreas
___

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

Unknown segue relationship: Prototype

2015-12-14 Thread Rick Mann
I'm getting this error since adding an NSCollectionView to my Storyboard in 
Xcode 7.2 (on OS X 10.10.5). It also added a prototype relationship to the 
NSCollectionViewItem.

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





-- 
Rick Mann
rm...@latencyzero.com



___

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