Understanding this use of “(Private)” in @interface declaration

前端 未结 3 1975
情歌与酒
情歌与酒 2021-01-21 19:38

I\'ve seen some code written this way:

@interface AViewController(Private)

I wanted to know if that (Private) means something when

3条回答
  •  -上瘾入骨i
    2021-01-21 20:18

    (Private) in this case deals with principles of Object Oriented Programming.

    This does not necessarily denote a Private API, which would violate the Apple iPhone Developer Agreement.

    Note: App Store approval is very black-box, so I can not guarantee that such code would not indeed result in rejection during the approval process.

提交回复
热议问题