[Adium-devl] Property syntax

Colin Barrett timber at lava.net
Thu Aug 14 22:41:18 UTC 2008


IIRC foo.bar++ doesn't work. However foo.bar += 1; does. But yeah,  
properties are the bee's knees. foo.bar.

The only thing I want out of properties is to be able to assign in to  
structs returned from properties: window.frame.origin.x = 0; That  
would be awesome.

-Colin

On Aug 14, 2008, at 4:21 AM, Stephen Holt wrote:

> foo.bar++;
>
> Simply because we _can_ do "foo.bar++" rather than "[foo setBar:[foo  
> bar]+1],"  which is the whole point of using declared properties in  
> the first place.
>
> --Steve Holt
>
> On Thu, Aug 14, 2008 at 6:48 AM, Evan Schoenberg  
> <evan.s at dreskin.net> wrote:
>
> On Aug 14, 2008, at 5:11 AM, David Smith wrote:
>
>        As we start converting Adium to objc2 we have a choice of  
> syntax for
> accessors. foo.bar or [foo bar]. Anyone have strong feelings one way
> or the other?
>
> foo.bar.
>
> -Evan
>
> _______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com
>
>
> _______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20080814/d7d5de45/attachment-0001.html>


More information about the devel mailing list