问题
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 ?
回答1:
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]+"
hope this helps.
来源:https://stackoverflow.com/questions/9520040/searching-hard-coded-text-in-xcode