Objective C variables, Private, Protected, and Public

Objective C variables, Private, Protected, and Public

Here is the brief memo.

@private
// Access only from the class in which it is declared.
@protected
// Access from subclasses.
// the default value.
@public
// Access from everywhere

0 件のコメント:

コメントを投稿