▁// ▁NOT E : ▁dot ▁notation , ▁uses ▁synth es ized ▁set ter , ▁ ▁// ▁equivalent ▁to ▁[ a Person ▁set Name : ▁@" Ste ve "]; ▁NSLog (@" Access ▁by ▁message ▁( % @ ), ▁dot ▁notation (% @ ), ▁property ▁name (% @ ) ▁and ▁direct ▁instance ▁variable ▁access ▁( % @ )", ▁ ▁[ a Person ▁name ], ▁a Person . name , ▁[ a Person ▁value ForKey :@" name "], ▁a Person -> name ); ▁ ▁In ▁order ▁to ▁use ▁dot ▁notation ▁to ▁invoke ▁property ▁access ors ▁within ▁an ▁instance ▁method , ▁the ▁" self " ▁keyword ▁should ▁be ▁used : ▁ ▁-( void ) ▁introduce M ys elf With Properties :( BOOL ) use Get ter ▁{ ▁ ▁NSLog (@" Hi , ▁my ▁name ▁is ▁% @ .", ▁( use Get ter ▁? ▁self . name ▁: ▁name )); ▁// ▁NOT E : ▁get ter ▁vs . ▁iv ar ▁access ▁} ▁ ▁A ▁class ▁or ▁protocol ' s ▁properties ▁may ▁be ▁dynamically ▁intros pected . ▁ ▁int ▁i ; ▁int ▁property Count ▁= ▁ 0 ; ▁obj c _ property _ t ▁* property List ▁= ▁class _ copy Property List ([ a Person ▁class ], ▁& property Count ); ▁ ▁for ▁( i ▁= ▁ 0 ; ▁i ▁< ▁property Count ; ▁i ++) ▁{ ▁ ▁obj c _ property _ t ▁* this Property ▁= ▁property List ▁+ ▁i ; ▁ ▁const ▁char * ▁property Name ▁= ▁property _ getName (* this Property ); ▁