forked from scribe-org/Scribe-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a file template containing the scribe copyright header
The template would be shown when scrolling to the bottom in the file creation menu, in a new category called "ScribeTemplates"
- Loading branch information
1 parent
1ae7fa5
commit ff70ecd
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
ScribeTemplates/ScribeHeader.xctemplate/TemplateInfo.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>Identifier</key> | ||
<string>com.example.templates.mytemplate</string> | ||
<key>Kind</key> | ||
<string>Xcode.IDEKit.TextSubstitutionFileTemplateKind</string> | ||
<key>Ancestors</key> | ||
<array> | ||
<string>com.apple.dt.unit-test-class</string> | ||
</array> | ||
</dict> | ||
</plist> | ||
|
18 changes: 18 additions & 0 deletions
18
ScribeTemplates/ScribeHeader.xctemplate/___FILEBASENAME___.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* [Describe what you want to do with your file here] | ||
* | ||
* Copyright (C) 2023 Scribe | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
*/ |