2 Replies Last post: Dec 30, 2013 5:18 PM by george cook  
george cook Novice 127 posts since
Mar 9, 2012
Currently Being Moderated

Dec 28, 2013 11:56 PM

I can't change the copyright info on new appcode classes

I've checked my template files in the folder:

 

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/File\ Templates/Cocoa\ Touch/Objective-C\ class.xctemplate/NSObject

 

And they look like:

 

//

//  ___FILENAME___

//  ___PROJECTNAME___

//

//  Created by ___FULLUSERNAME___ on ___DATE___.

//___COPYRIGHT___

//

 

I set the flags using :

 

defaults write com.apple.ProjectBuilder PBXCustomTemplateMacroDefinitions '{ "COPYRIGHT" = "Copyright (c) xxxxx 2014";}'

 

However, appcode copletely ignores this when I create a new file. I raised a bug on this last year, which is marked as fixed.. so how do I update the variables in my header file in appcode?

 

thanks and merry christmas and happy new year

Alexander Kirillin JetBrains 156 posts since
Apr 5, 2011
Currently Being Moderated
Dec 30, 2013 1:51 PM in response to: george cook
Re: I can't change the copyright info on new appcode classes

Hi George,

I've created an issue - http://youtrack.jetbrains.com/issue/OC-8957.

What stops you from using AppCode's new file templates (File | New Class)?

More Like This

  • Retrieving data ...