Skip navigation.
 
mlRe: "Convert to Objective-c 2.0"
FROM : Bill Bumgarner
DATE : Sun Jan 20 07:10:15 2008

On Jan 19, 2008, at 10:06 PM, Seth Willits wrote:
> On Jan 19, 2008, at 3:52 PM, Bill Bumgarner wrote:

>>> I tried it twice. Once on a fairly mediumish sized program, and 
>>> the other on a brand new project. Both times it just spun forever 
>>> and never did anything. I haven't tried it since. :)

>>
>> How long was "forever"?
>>
>> The first time you use the refactoring feature, Xcode takes a 
>> snapshot of your project.  If it is a relatively large project, 
>> this can take quite a while.

> The fairly mediumish small project.... I think I waited about 30 
> minutes. It might have had 10,000 lines in it? Certainly no larger 
> and likely smaller. In the window  it says which file it's working 
> on, and the entire time I waited, it was still only on the very 
> first file.
>
> So then I tried it with a new project with the default main.m, and 
> it didn't complete within a few minutes. Maybe 5 or so.


Wow.  OK -- something is very very broken on your system (I live by 
refactoring these days --  my variables are stronger, my method names 
more powerful, and my code-fu is much improved).  The Objective-C 2.0 
refactorings are simply a collection of refactoring operations that 
work pretty much exactly like the simpler ones.

Please sample Xcode and file a bug via http://bugreport.apple.com.

b.bum

Related mailsAuthorDate
ml"Convert to Objective-c 2.0" Development Jan 19, 04:03
mlRe: "Convert to Objective-c 2.0" j o a r Jan 19, 08:50
mlRe: "Convert to Objective-c 2.0" Seth Willits Jan 19, 21:20
mlRe: "Convert to Objective-c 2.0" Bill Bumgarner Jan 20, 00:52
mlRe: "Convert to Objective-c 2.0" Seth Willits Jan 20, 07:06
mlRe: "Convert to Objective-c 2.0" Bill Bumgarner Jan 20, 07:10
mlRe: "Convert to Objective-c 2.0" Seth Willits Jan 20, 20:24
mlRe: "Convert to Objective-c 2.0" Bill Bumgarner Jan 20, 20:31