user310291
user310291

Reputation: 38228

Easiest way to rename an event handler in Xcode?

Since the binding between handler method and nib file is done graphically, what's the easiest way to rename my handler in Xcode without breaking that event handling?

Upvotes: 1

Views: 146

Answers (2)

Shubhank
Shubhank

Reputation: 21805

  1. select -functionName:
  2. right click->refactor->rename
  3. ????
  4. Profit

Upvotes: 1

DarkDust
DarkDust

Reputation: 92384

Right-click on the name of your method in your .h or .m file, select Refactor -> Rename.... This also takes care of your XIBs.

Upvotes: 4

Related Questions