只要添加一个NSCollectionView到Storyboard,该代码将不会编译与错误:未知的segue关系:原型.
这是Swift / XCode6-beta4的已知错误还是我错过了什么?
这是一个已知的错误,并在
release notes of Xcode 6 beta-5中提及(有解决方法):
A storyboard may fail to compile after adding an NSCollectionView to
it. (17009377)!Workaround: Pick a xib that includes the NSCollectionView and load it into a Storyboard based View.!