Hide instance variable from header file in Objective C

后端 未结 10 1034
梦如初夏
梦如初夏 2020-12-30 14:35

I came across a library written in Objective C (I only have the header file and the .a binary). In the header file, it is like this:

@interface MyClass : MyS         


        
10条回答
  •  失恋的感觉
    2020-12-30 14:55

    DON'T do this, but I feel it should be noted that the runtime has the ability to add ivars whenever you want with class_addIvar

提交回复
热议问题