Can't cast value of type UIViewController to PatternDetailViewController

前端 未结 8 1625
孤街浪徒
孤街浪徒 2020-12-06 04:29

Am trying to downcast a view controller to a detail view controller but can\'t. Am using Core Data (for the first time). The error is in the prepareForSegue method and reads

8条回答
  •  情话喂你
    2020-12-06 05:01

    Try clean Product > Clean

    Edit: I came across the same error message and it was fixed using this method. This answer may not specifically answer the question

提交回复
热议问题