Re: @property and Garbage Collection

2011-01-25 Thread Greg Parker
On Jan 25, 2011, at 2:15 AM, Kevin Bracey wrote: > Yes, I can see the the rule for copy, I'm guessing it still makes a copy. > > I'm a little confused as to what ( retain ) now does, does it now also do a > copy, If I remove the ( copy ) I get > warning: default 'assign' attribute on property 'al

Re: @property and Garbage Collection

2011-01-25 Thread James Bucanek
Kevin Bracey wrote (Tuesday, January 25, 2011 2:59 AM +1300): In a Garbage Collected App when using the @property is it correct that I still have to specify (copy) or (retain) or have I missed something? I thought using GC didn't require retain and that everything cou

Re: @property and Garbage Collection

2011-01-25 Thread Quincey Morris
On Jan 25, 2011, at 02:15, Kevin Bracey wrote: > I'm a little confused as to what ( retain ) now does, does it now also do a > copy, If I remove the ( copy ) I get > warning: default 'assign' attribute on property 'allImportHeaders' which > implements 'NSCopying' protocol not appropriate with -f

Re: @property and Garbage Collection

2011-01-25 Thread Kevin Bracey
Yes, I can see the the rule for copy, I'm guessing it still makes a copy. I'm a little confused as to what ( retain ) now does, does it now also do a copy, If I remove the ( copy ) I get warning: default 'assign' attribute on property 'allImportHeaders' which implements 'NSCopying' protocol not

Re: @property and Garbage Collection

2011-01-25 Thread Thomas Davie
On 25 Jan 2011, at 09:59, Kevin Bracey wrote: > Hi Guys, > > I've been using Retain/Release up til now but I have started my first GC > project. > > In a Garbage Collected App when using the @property is it correct that I > still have to specify (copy) or (retain) or have I missed something?

@property and Garbage Collection

2011-01-25 Thread Kevin Bracey
Hi Guys, I've been using Retain/Release up til now but I have started my first GC project. In a Garbage Collected App when using the @property is it correct that I still have to specify (copy) or (retain) or have I missed something? I thought using GC didn't require retain and that everything