molwiko
molwiko

Reputation: 343

Searching hard coded text in xcode

Hello I would like to localize my application, and the problem I have hard coded text all around the code also in the xib files. I would like quick way to externalize or better to get all hard coded text and put it in external file . if some one have done this before pls share ?

Upvotes: 7

Views: 3051

Answers (1)

elp
elp

Reputation: 8131

You can use regular expression to search in all projects.

Press CMD + SHIFT + F and open global search.
Click on lens (on the left of textfield) and select "options".

Select Regular Expression and paste @"[a-zA-Z0-9]+"

enter image description here

hope this helps.

Upvotes: 7

Related Questions