Skip to content

Commit

Permalink
©️ Add file header template
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Friese <[email protected]>
  • Loading branch information
peterfriese committed Oct 25, 2021
1 parent 2254a03 commit 1f4df5c
Show file tree
Hide file tree
Showing 5 changed files with 91 additions and 2 deletions.
6 changes: 6 additions & 0 deletions code/frontend/MakeItSo/MakeItSo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
88FEECDD27275ABD00ED368C /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88FEECCB27275ABC00ED368C /* ContentView.swift */; };
88FEECDE27275ABD00ED368C /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 88FEECCC27275ABD00ED368C /* Assets.xcassets */; };
88FEECDF27275ABD00ED368C /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 88FEECCC27275ABD00ED368C /* Assets.xcassets */; };
88FEECE927275B4900ED368C /* SwiftUIView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88FEECE827275B4900ED368C /* SwiftUIView.swift */; };
88FEECEA27275B4900ED368C /* SwiftUIView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88FEECE827275B4900ED368C /* SwiftUIView.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand All @@ -22,6 +24,7 @@
88FEECD127275ABD00ED368C /* MakeItSo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MakeItSo.app; sourceTree = BUILT_PRODUCTS_DIR; };
88FEECD727275ABD00ED368C /* MakeItSo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MakeItSo.app; sourceTree = BUILT_PRODUCTS_DIR; };
88FEECD927275ABD00ED368C /* macOS.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = macOS.entitlements; sourceTree = "<group>"; };
88FEECE827275B4900ED368C /* SwiftUIView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwiftUIView.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -57,6 +60,7 @@
88FEECCA27275ABC00ED368C /* MakeItSoApp.swift */,
88FEECCB27275ABC00ED368C /* ContentView.swift */,
88FEECCC27275ABD00ED368C /* Assets.xcassets */,
88FEECE827275B4900ED368C /* SwiftUIView.swift */,
);
path = Shared;
sourceTree = "<group>";
Expand Down Expand Up @@ -178,6 +182,7 @@
files = (
88FEECDC27275ABD00ED368C /* ContentView.swift in Sources */,
88FEECDA27275ABD00ED368C /* MakeItSoApp.swift in Sources */,
88FEECE927275B4900ED368C /* SwiftUIView.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -187,6 +192,7 @@
files = (
88FEECDD27275ABD00ED368C /* ContentView.swift in Sources */,
88FEECDB27275ABD00ED368C /* MakeItSoApp.swift in Sources */,
88FEECEA27275B4900ED368C /* SwiftUIView.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>COPYRIGHT</key>
<string>Copyright © 2021 Google LLC. All rights reserved.</string>
<key>FILEHEADER</key>
<string>
// ___FILENAME___
// ___PACKAGENAME___
//
// Created by ___FULLUSERNAME___ on ___DATE___.
// ___COPYRIGHT___
//
// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.</string>
</dict>
</plist>
14 changes: 13 additions & 1 deletion code/frontend/MakeItSo/Shared/ContentView.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
//
// ContentView.swift
// Shared
// MakeItSo
//
// Created by Peter Friese on 25.10.21.
// Copyright © 2021 Google LLC. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

import SwiftUI

Expand Down
14 changes: 13 additions & 1 deletion code/frontend/MakeItSo/Shared/MakeItSoApp.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
//
// MakeItSoApp.swift
// Shared
// MakeItSo
//
// Created by Peter Friese on 25.10.21.
// Copyright © 2021 Google LLC. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

import SwiftUI

Expand Down
32 changes: 32 additions & 0 deletions code/frontend/MakeItSo/Shared/SwiftUIView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
//
// SwiftUIView.swift
// MakeItSo
//
// Created by Peter Friese on 25.10.21.
// Copyright © 2021 Google LLC. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

import SwiftUI

struct SwiftUIView: View {
var body: some View {
Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/)
}
}

struct SwiftUIView_Previews: PreviewProvider {
static var previews: some View {
SwiftUIView()
}
}

0 comments on commit 1f4df5c

Please sign in to comment.