Searching hard coded text in xcode

前端 未结 1 1669
夕颜
夕颜 2021-02-09 06:14

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

相关标签:
1条回答
  • 2021-02-09 07:00

    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.

    0 讨论(0)
提交回复
热议问题