ios - Meaning of warning "Class implementation may not have super class" -


i have created basic objective-c class.

myclass.h

@interface myclass: nsobject @end 

myclass.m

#import "myclass.h" @interface myclass() @end  @implementation myclass: nsobject  {     nsmutablearray* _myarray; } @end 

xcode showing following warning on @implementation line:

class implementation may not have super class

the warning goes away if remove nsmutablearray* _myarray; line.

what warning mean? doing wrong?

delete nsobject in implementation part. super class has specified in interface.

@implementation myclass {     nsmutablearray* _myarray; } @end 

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -