Re: copyWithZone archive/unarchive

2015-01-30 Thread pscott
Depending on the complexity of the application and amount of core services utilized, converting an existing manual retain/release project to ARC can instigate a battle you may not want to fight. When I attempted that with my medium complexity application, I quickly realized it was a mistake, he

Re: copyWithZone archive/unarchive

2015-01-30 Thread Jens Alfke
> On Jan 30, 2015, at 8:43 PM, David Rowland wrote: > > It’s best to use ARC uniformly in a project and not mix with non-ARC modules. > Xcode has a tool to upgrade projects to ARC. I have used it a number of > times, and it seems to do a very good job. I haven't had any problem mixing ARC wit

Re: copyWithZone archive/unarchive

2015-01-30 Thread David Rowland
It’s best to use ARC uniformly in a project and not mix with non-ARC modules. Xcode has a tool to upgrade projects to ARC. I have used it a number of times, and it seems to do a very good job. David > On Jan 30, 2015, at 8:15 PM, Jerry Krinock wrote: > > >> On 2015 Jan 30, at 10:08, Trygve

Re: copyWithZone archive/unarchive

2015-01-30 Thread Jerry Krinock
> On 2015 Jan 30, at 10:08, Trygve Inda wrote: > > Do you see non-ARC code becoming obsolete? Non-ARC code is already obsolete, but what I think you mean is will non-ARC code fail to compile or run in some future OS version. Never say “never” with Apple, but in this case, I don’t think so, b

Re: copyWithZone archive/unarchive

2015-01-30 Thread Trygve Inda
> On Jan 30, 2015, at 7:26 AM, Trygve Inda wrote: > >>> On Jan 29, 2015, at 9:44 PM, Trygve Inda wrote: However, naming conventions expect copy to not be autoreleased so should the above really be: return ([copy retain]); >>> >>> Yes, if you're really still not

Re: copyWithZone archive/unarchive

2015-01-30 Thread Kyle Sluder
On Jan 30, 2015, at 7:26 AM, Trygve Inda wrote: >> >>> On Jan 29, 2015, at 9:44 PM, Trygve Inda wrote: >>> >>> However, naming conventions expect copy to not >>> be autoreleased so should the above really be: >>> >>> return ([copy retain]); >> >> Yes, if you're really still not using ARC ;-)

Re: copyWithZone archive/unarchive

2015-01-30 Thread Trygve Inda
> >> On Jan 29, 2015, at 9:44 PM, Trygve Inda wrote: >> >> However, naming conventions expect copy to not >> be autoreleased so should the above really be: >> >> return ([copy retain]); > > Yes, if you're really still not using ARC ;-) > > —Jens I am not using ARC - this is a large project t

Re: copyWithZone archive/unarchive

2015-01-29 Thread Jens Alfke
> On Jan 29, 2015, at 9:44 PM, Trygve Inda wrote: > > However, naming conventions expect copy to not > be autoreleased so should the above really be: > > return ([copy retain]); Yes, if you're really still not using ARC ;-) —Jens ___ Cocoa-dev mail