I have been looking for this answer and have found a lot of information for changing the company name, etc. But only one that answered how to completely reformat this block of information. Unfortunately the information is dated now and I cannot seem to get it to work. The files I tried are locked. Perhaps someone out there can tell me how to do this in Xcode 5?
//
// ___FILENAME___
// ___PACKAGENAME___
//
// Created by ___FULLUSERNAME___ on ___DATE___.
// Copyright (c) ___YEAR___ ___ORGANIZATIONNAME___. All rights reserved.
//
I would like to change the format to Java Doc style. Something like this:
/**
* ___FILENAME___
* ___PACKAGENAME___
*
* Created by ___FULLUSERNAME___ on ___DATE___.
* Copyright (c) ___YEAR___ ___ORGANIZATIONNAME___. All rights reserved.
*/
Yes, I saw this and referenced it in my original question.
That is the only one that came close by showing how to completely reformat this block. Only I think it may not work anymore. I tried to change the block but was locked out of editing. Perhaps there is something I am missing for Xcode 5 or Apple has added a new configuration for this? Still outstanding question waiting for an answer.
You can change the copyright template in Xcode here: Project Navigator -> File Inspector -> "Organization". Save this answer.
What are Xcode Templates? Xcode Templates is a tool for creating code snippets to give you a better starting point to achieve your goal. In this tutorial, I will walk you through preparing a custom template for MVVM project architecture with RxSwift and reusable classes of RxServices.
Using file templates in XCode To get started You just need to click File -> New -> File… Find your template in the list. Then type the name of the module.
Coming from here - How to replace the company name in the template headers in Xcode?
its simple in Xcode5
select project file from project navigator on the left side
then look at the right side utilities navigator, select file navigator
now 2nd group should be "project document"
HTH
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With