Crooked Spin

Programming

February 4, 2008

Refactoring

I found a bug today with Xcode’s refactoring tool (radar://5723465) that could be a headache if you don’t watch for it. If you refactor the name of a method, calls to used through an @selector, like [self performSelectorOnMainThread:@selector(someMethod:) withObject:obj waitUntilDone:NO], will not be changed. You have to pick those up yourself. This could be a headache since it won’t be caught until runtime.

Leave a comment

RSS feed for comments on this post. TrackBack URL

You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>