So, I always wanted to code an OSX program with Swift, which needs a collection view. As for OSX, it does not use UICollectionView, but NSCollectionView (by the way, if you know any tutorial for use with Swift, it will be very useful!).
The thing is, I put the “Collection View” in my storyboard, make it my initial controller, and as the view was created, it also created the NSCollectionViewItem on the storyboard. In Xcode 6, the prototype element was absolutely not associated with any other storyboard element, but now in Xcode 7 it is created using the "Prototype Segue".
Problem: when I compile, I have this error:
Unknown segue relationship : Prototype
Does anyone have an idea how to fix it?
Thanks in advance, and sorry for my English -
source
share