class extension in objective-c

前端 未结 6 1372
花落未央
花落未央 2021-01-07 01:48

I am learning object-c by reading a book. When I read the chapter about class extension, the book gives the following example code:

// A class extension
@int         


        
6条回答
  •  一生所求
    2021-01-07 02:34

    It is a little bit misleading to say "objects can no longer see". Objects doesn't see anything, even in the figurative sense. Let`s say: Code placed outside the implementation of the class cannot see the property.

提交回复
热议问题