marrock
marrock

Reputation: 301

Rename touch up event in iOS app

I am writing my first iOS application and in it, I have created a form and created a submit button touch up event. Now I want to rename the function associated with the event. How can I do that?

Just renaming the function in ViewControllers doesn't help because the link on Storyboard still shows the old name.

Upvotes: 1

Views: 102

Answers (1)

holex
holex

Reputation: 24031

try to refactor it, that usually renames it everywhere but inside a @selector(...), there you have to rename it manually case by case – otherwise your app may crashes after you call an undefined selector on an instance.

right click on the name, then:

enter image description here

Upvotes: 3

Related Questions