[Openmcl-devel] [Q] Setting ObjC objects properties

Didier Verna didier at lrde.epita.fr
Thu Jun 26 11:49:45 PDT 2008


Richard Newman <rnewman at twinql.com> wrote:

>   IIRC,
>
>     @property foo bar
>
>   is equivalent to
>
>     - (foo) bar;
>     - (void) setBar:(foo)bar;


Raffael Cavallaro wrote:

> So:
>
> rootLayer.layoutManager = [CAConstraintLayoutManager layoutManager];
>
> is just syntactic sugar for:
>
> [rootLayer setLayoutManager: [CAConstraintLayoutManager layoutManager]];

  Thanks guys !

-- 
5th European Lisp Workshop at ECOOP 2008, July 7: http://elw.bknr.net/2008/

Didier Verna, didier at lrde.epita.fr, http://www.lrde.epita.fr/~didier

EPITA / LRDE, 14-16 rue Voltaire   Tel.+33 (0)1 44 08 01 85
94276 Le Kremlin-Bicêtre, France   Fax.+33 (0)1 53 14 59 22  didier at xemacs.org



More information about the Openmcl-devel mailing list