Xcode 6.1 Swift issue - 'init()' is unavailable: superseded by import of -[NSObject init]

后端 未结 1 1237
故里飘歌
故里飘歌 2021-02-19 09:08

I have just upgraded my Xcode to 6.1 an am now getting a strange compilation error.

\'init()\' is unavailable: superseded by import of -[NSObject init]

相关标签:
1条回答
  • I have same problem, one way I found to suppress the error is to explicitly cast it:

    leftBay = BayNode() as BayNode
    
    0 讨论(0)
提交回复
热议问题