"Convert to Objective-c 2.0"

  • Has any one done this and if so has it muxed your program or made it
    better or actually done nothing at all?
  • On Jan 18, 2008, at 7:03 PM, Development wrote:

    > Has any one done this and if so has it muxed your program or made it
    > better or actually done nothing at all?

    Just try it out! The refactoring component in Xcode will let you
    preview the proposed changes before they are applied to your project.
    The refactoring component also integrates with the new "Snapshot"
    functionality in Xcode 3.0 to allow you to easily roll back any or all
    of your changes if you change your mind after having converted your
    project.

    If you stumble on anything you don't like, please don't forget to file
    bug reports and enhancement requests with Apple!

    j o a r
  • On Jan 18, 2008, at 7:03 PM, Development wrote:

    > Has any one done this and if so has it muxed your program or made it
    > better or actually done nothing at all?

    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. :)

    --
    Seth Willits
  • On Jan 19, 2008, at 12:20 PM, Seth Willits wrote:
    > On Jan 18, 2008, at 7:03 PM, Development wrote:
    >> Has any one done this and if so has it muxed your program or made
    >> it better or actually done nothing at all?
    > 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.

    b.bum
  • 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.

    --
    Seth Willits
  • 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
  • On Jan 19, 2008, at 10:10 PM, Bill Bumgarner wrote:

    >> 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.

    I tried it again (I haven't done it in a while) and it works fine,
    now. I don't know what changed to make it work but quite a lot has
    been changed since I last tried it.

    :shrug:

    :)

    --
    Seth Willits
  • On Jan 20, 2008, at 11:24 AM, Seth Willits wrote:
    > I tried it again (I haven't done it in a while) and it works fine,
    > now. I don't know what changed to make it work but quite a lot has
    > been changed since I last tried it.

    Good for you!  Bummer that we couldn't capture the problem -- in my
    experience, such oddities are usually related to network filesystem
    issues of some kind.

    In any case, if there are additional refactorings you would like to
    see, file enhancement requests!

    b.bum
previous month january 2008 next month
MTWTFSS
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Go to today