Skip to content

Commit 09a8ece

Browse files
committed
Add licenses for third-party code
1 parent 90863e1 commit 09a8ece

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed

Sources/LayoutInspector/DebugLayout.swift

+28
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
// Based on: Swift Talk 319, Inspecting HStack Layout (2022-08-26)
22
// <https://talk.objc.io/episodes/S01E319-inspecting-hstack-layout>
3+
//
4+
// License:
5+
//
6+
// MIT License
7+
//
8+
// Copyright (c) 2022 objc.io
9+
//
10+
// Permission is hereby granted, free of charge, to any person obtaining a copy
11+
// of this software and associated documentation files (the "Software"), to deal
12+
// in the Software without restriction, including without limitation the rights
13+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14+
// copies of the Software, and to permit persons to whom the Software is
15+
// furnished to do so, subject to the following conditions:
16+
//
17+
// The above copyright notice and this permission notice shall be included in all
18+
// copies or substantial portions of the Software.
19+
//
20+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26+
// SOFTWARE.
27+
//
28+
// ---
29+
//
30+
// Significantly modified by Ole Begemann
331

432
import SwiftUI
533

Sources/LayoutInspector/RuntimeWarnings.swift

+28
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,34 @@
44
// Based on: Point-Free, Unobtrusive runtime warnings for libraries (2022-01-03)
55
// https://www.pointfree.co/blog/posts/70-unobtrusive-runtime-warnings-for-libraries
66
//
7+
// ---
8+
//
9+
// License:
10+
//
11+
// MIT License
12+
//
13+
// Copyright (c) 2020 Point-Free, Inc.
14+
//
15+
// Permission is hereby granted, free of charge, to any person obtaining a copy
16+
// of this software and associated documentation files (the "Software"), to deal
17+
// in the Software without restriction, including without limitation the rights
18+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
19+
// copies of the Software, and to permit persons to whom the Software is
20+
// furnished to do so, subject to the following conditions:
21+
//
22+
// The above copyright notice and this permission notice shall be included in all
23+
// copies or substantial portions of the Software.
24+
//
25+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31+
// SOFTWARE.
32+
//
33+
// ---
34+
//
735
// Slightly modified by Ole Begemann
836

937
#if DEBUG

0 commit comments

Comments
 (0)