1

I want to add "=" before number 3 and ";" after 3 below line

before:

static NSInteger const  LOAD_USER_PAGE 3
...
...

after:

 static NSInteger const  LOAD_USER_PAGE = 3;

There are lots of lines like this.

How could I do this in XCode?

1 Answer 1

2

Press Magnifier icon next to find text area. Select Edit Find Options-> Regex

Then,

Find Text Box

([0-9].$)

Replace Text Box:

= $1;

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.