UIColor expected a type after update to xCode 7.3

后端 未结 2 1138
余生分开走
余生分开走 2021-01-28 19:16

My project stop to compile after was updated to 7.3 version. For this moment main problem is in header files when I want to return UIColor. xCode tells me Exp

相关标签:
2条回答
  • 2021-01-28 19:42

    Use

    @class UIColor;
    

    above @interface.

    It'll fix the expected a type error.

    0 讨论(0)
  • 2021-01-28 19:43

    You should import uikit if you are using UIColor.

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