Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 ?

like image 830
molwiko Avatar asked Mar 01 '12 16:03

molwiko


1 Answers

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.

like image 128
elp Avatar answered Oct 21 '22 14:10

elp