2

I used IDETemplateMacros.plist (from here) to have proper headers while creating new files. But I need to update everything already created. Is there any proper way which XCode offers, or I should write some custom script?

nrudnyk
  • 924
  • 1
  • 7
  • 25
  • You can hit `command+4` to bring up the left side menu with search function and then select `find & replace text`, then select `in workspace` or `in project` depending on what you need. Xcode will then search through all files and allow you to easily replace strings. – LinusGeffarth May 15 '18 at 10:05
  • please have a look on this url, find the answer with 7 up votes. https://stackoverflow.com/questions/2381149/changing-the-default-header-comment-license-in-xcode – aBilal17 May 15 '18 at 10:07
  • @aBilal17 as commented:"This only changes the organisation and not the license etc." – nrudnyk May 15 '18 at 10:08
  • @LinusGeffarth find\replace won't work, because each file has filename inside copyright. – nrudnyk May 15 '18 at 10:09

0 Answers0