Instance variable 'variable' accessed in class method error

后端 未结 4 1974
长发绾君心
长发绾君心 2020-12-14 09:03

I have a variable declared in the header file :

@interface

int _nPerfectSlides;

and

@property (nonatomic, readwri         


        
4条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-14 09:44

    If you meant to make this an instance method, change that + to -.

提交回复
热议问题