开发者

@class myClass; //what does this does, I can't figure out :s

开发者_如何学Go

Everything is in the title, I doesn't understand what the statement below does:

#import "x.h"
#import "y.h"
#import "MyAppAppDelegate.h"
#import "z.h"


@implementation x

@class myClass;

Could someone explain me using simple words please? I'm quite new to iphone programming :s


Simple Words: It tells the compiler, that there will be a Class named myClass and not to warn you about an unknown class if not really necessary.

Complex Words

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜