IBOutlet declarations?

前端 未结 4 1080
忘掉有多难
忘掉有多难 2021-02-14 02:54

I have seen the code below written 3 different ways (with regards to IBOutlet) Does it matter, I would say adding IBOutlet to both the declaration and the @property was more con

4条回答
  •  长发绾君心
    2021-02-14 03:26

    The current style in Apple's example code puts the IBOutlet in the property declaration. For consistency, that's probably the best place to throw it.

提交回复
热议问题