osx - How to add copyrights to my current app in xcode using MAC OS -
i working on app.i have finished app development module ,now working on getting ready delivery client.
i have add client's copyrights .h,.m files inn projects.as there around 700+ files in .also don't want use cntrol+find in entire app , replace copyright content required.
is there other approach can add copyrights content it.i heard of creating sort of batch file , using terminal add copyrights project not sure how implement this.
any appreciated. thanks
hmm, may need little shell scripting. in general, how attempt tackle it:
- create text file copyright.
- create text file (code) file names need add copyright to. (should pretty easy ls *.m > script).
- open script file text editor , modify each line reads: cat copyright 'filename' > should pretty easy macro
- set script file's execution bit: chmod a+x script
- run script by: ./script
notice produces files '_out' @ end. change fits you.
Comments
Post a Comment