Varieties of @interface declarations, some with parentheses

前端 未结 3 1738
别那么骄傲
别那么骄傲 2020-12-11 18:20

I\'ve noticed a variety of @interface declarations for Objective-c classes. I\'d like to understand why developers declare @interface in the follo

3条回答
  •  一个人的身影
    2020-12-11 18:54

    It is used to declared private methods.

    This response explain this in details: What are best practices that you use when writing Objective-C and Cocoa?

提交回复
热议问题