@propertyと@synthesiseのポイントは何だろうと思っていました。現時点では、以下を使用して何かを宣言しています。
//Class.m
#import "Class.h"
CCNode *node;
@implementation
//init, etc..
しかし、私は他の人が使用するのを見ました:
@property (nonatomic, etc..) CCNode* node;
@synthesise (nonatomic, etc..) node;
//I am not too sure on how this type of declaration works, please correct me on how it's done.
どちらも同じように機能しているようですが、@ propertyと@synthesiseの方法の利点は何ですか?彼らは異なることをしますか?もしそうなら、何ですか?