What does the “Couldn't compile connection:” error mean?

前端 未结 2 1296
星月不相逢
星月不相逢 2020-11-28 08:33

I\'m getting the following error from Xcode:

Couldn\'t compile connection:  =&         


        
相关标签:
2条回答
  • 2020-11-28 08:59

    SWIFT 2

    I was creating a popover segue and I was getting the same error.

    What I did was follow @matt's answer by not putting it on a cell, which is logical now that he explained it!

    Instead, I put the TableView as the anchor and it worked fine.

    Hope that helps those in the future.

    0 讨论(0)
  • 2020-11-28 09:18

    The problem is that this is a prototype cell. It is meaningless to have an outlet to something in it, because it isn't a real cell: it's a model for what might be dozens or hundreds of cells, and which one would the outlet point to in that case?

    0 讨论(0)
提交回复
热议问题