Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting copyright statement on a per-project basis?

I'm an independent developer working primarily with iPhone applications, and I'm currently engaged in several different projects. Some are for myself, and others are for one of a number of clients. Because of this, I'd like to have a way to have Xcode set the copyright notice at the top of each source file on a per-project basis.

I've seen these questions, and I understand that Xcode by default pulls the organization on the user's Address Book contact card for the copyright statement, and that you can change the property either in the Address Book or on the terminal. What I'm looking for is a setting that lets that default be changed for each project, and has Xcode remember the copyright assignee (i.e. I don't want to have to change my Address Book organization entry each time I switch projects).

like image 998
Tim Avatar asked Jun 13 '09 16:06

Tim


People also ask

How do you write a copyright statement?

The copyright notice generally consists of three elements: The symbol © (the letter C in a circle), or the word "Copyright" or the abbreviation "Copr."; The year of first publication of the work; and. The name of the owner of copyright in the work.

How will you include copyright in your project presentation?

On the opening screen or first page of report or presentation, include a notice if needed: "Certain materials are included under the fair use exemption of the U.S. Copyright Law and have been prepared according to the fair use guidelines and are restricted from further use."

What is an example of a copyright disclaimer?

Copyright @ [name & year]. Any illegal reproduction of this content will result in immediate legal action. Like in the example, your YouTube copyright disclaimer can just be the copyright symbol (or “C” or “Copyright”), but we recommend adding an advisement against theft to further protect your intellectual property.

What is the best way to use copyrighted material for your project?

You can still cite and refer to other sources (including copyrighted materials) in your work. But to use, copy, or change a copyrighted work, you need permission from the person who holds the copyright. This permission is called a license.


2 Answers

You can change the organization Xcode currently uses by issuing the following command in Terminal:

defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{ORGANIZATIONNAME = "Some Company Name"; }'

You can then create scripts that switch the current company for Xcode.

like image 95
diederikh Avatar answered Oct 21 '22 11:10

diederikh


Upgrade to Xcode 3.2, which now has a project setting for organization name.

like image 36
palimpsestor Avatar answered Oct 21 '22 09:10

palimpsestor