Skip to content

Commit 031e25b

Browse files
Add license and update copyright (#870)
1 parent 8c7f25f commit 031e25b

File tree

127 files changed

+805
-125
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+805
-125
lines changed

.swiftlint.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ empty_count:
1010
file_header:
1111
required_pattern: |
1212
\/\/
13-
\/\/ {2}Copyright © \d{4} Tinder \(Match Group, LLC\)
13+
\/\/ {2}All Contributions by Match Group
14+
\/\/
15+
\/\/ {2}Copyright © \d{4}(-\d{4})? Tinder \(Match Group, LLC\)
16+
\/\/
17+
\/\/ {2}Licensed under the Match Group Modified 3-Clause BSD License.
18+
\/\/ {2}See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
1419
\/\/
1520
1621
private_over_fileprivate:

Customization/Perception.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ A store compatible with [Perception](https://github.com/pointfreeco/swift-percep
22

33
```swift
44
//
5-
// Copyright © 2024 Tinder (Match Group, LLC)
5+
// All Contributions by Match Group
6+
//
7+
// Copyright © 2025 Tinder (Match Group, LLC)
8+
//
9+
// Licensed under the Match Group Modified 3-Clause BSD License.
10+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
611
//
712

813
import Combine

LICENSE

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
Modified 3-Clause BSD License
2+
3+
Copyright © 2025 Match Group, LLC
4+
5+
This license is based on the 3-Clause BSD license, modified for
6+
clarity and to add the following requirements: Modifications must
7+
be identified in any redistributions, any implied warranty of non
8+
infringement is disclaimed, implied licenses are disclaimed, and you
9+
agree that you are responsible for any claims that may arise out of
10+
your use of the software.
11+
12+
The copyright holder grants you permission to and use or redistribute
13+
this software in source and binary forms, with or without modification,
14+
conditioned on your acceptance of, and adherence to, the following
15+
conditions:
16+
17+
1. Redistributions of source code, whether or not modified, must
18+
retain the above copyright notice, this list of conditions, and the
19+
following disclaimer. If modified, the source code must identify
20+
the modifications (identification in general terms is acceptable).
21+
22+
2. Redistributions in binary or application form must reproduce the
23+
above copyright notice, this list of conditions, and the following
24+
disclaimer in the documentation or other materials provided with
25+
the binary or application.
26+
27+
3. You may not use the name of the copyright holder nor the names of
28+
the contributors to endorse or promote products derived from this
29+
software without specific prior written permission.
30+
31+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32+
"AS IS" AND ALL EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
34+
PARTICULAR PURPOSE, AND NON INFRINGEMENT ARE DISCLAIMED. IN NO EVENT
35+
SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
36+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
37+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
38+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
39+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
40+
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
41+
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
42+
POSSIBILITY OF SUCH DAMAGE. YOU AGREE TO INDEMNIFY AND HOLD HARMLESS
43+
THE COPYRIGHT HOLDER AND ALL CONTRIBUTORS AGAINST ANY CLAIMS THAT
44+
ARISE BASED ON YOUR USE, MODIFICATION, OR REDISTRIBUTION OF THIS
45+
SOFTWARE. NO ADDITIONAL LICENSE BEYOND THOSE EXPRESSLY GRANTED ABOVE
46+
ARE IMPLIED.

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fix:
3030
@/usr/libexec/PlistBuddy -c \
3131
"Delete :FILEHEADER" \
3232
"$(XCSHAREDDATA)/IDETemplateMacros.plist" >/dev/null 2>&1 || true
33-
@header=$$'\n// Copyright © ___YEAR___ Tinder \(Match Group, LLC\)\n//'; \
33+
@header=$$'\n// All Contributions by Match Group\n//\n// Copyright © ___YEAR___ Tinder \(Match Group, LLC\)\n//\n// Licensed under the Match Group Modified 3-Clause BSD License.\n// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.\n//'; \
3434
/usr/libexec/PlistBuddy -c \
3535
"Add :FILEHEADER string $$header" \
3636
"$(XCSHAREDDATA)/IDETemplateMacros.plist" >/dev/null 2>&1

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -187,3 +187,17 @@ While Nodes works out-of-the-box with [Combine](https://developer.apple.com/docu
187187
## Extras
188188

189189
The [Nodes Tree Visualizer](https://github.com/Tinder/Nodes-Tree-Visualizer) is a Swift library and companion web application for tree visualization.
190+
191+
## Contributing
192+
193+
While interest in contributing to this project is appreciated, it has been open
194+
sourced solely for the purpose of sharing with the community. This means we are
195+
unable to accept outside contributions at this time and pull requests will not
196+
be reviewed or merged. To report a security concern or vulnerability, please
197+
submit a GitHub issue.
198+
199+
## License
200+
201+
Licensed under the [Match Group Modified 3-Clause BSD License](
202+
https://github.com/Tinder/Nodes/blob/main/LICENSE
203+
).

Sources/Executables/NodesCodeGenerator/NodesCodeGeneratorCommand.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2023 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
import ArgumentParser

Sources/Executables/NodesXcodeTemplatesGenerator/NodesXcodeTemplatesGeneratorCommand.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2021 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
import ArgumentParser

Sources/Nodes/Core/AbstractBuilder.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2020 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
// swiftlint:disable period_spacing

Sources/Nodes/Core/AbstractContext.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2020 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
// swiftlint:disable file_types_order period_spacing

Sources/Nodes/Core/AbstractFlow.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2020 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
// swiftlint:disable period_spacing

Sources/Nodes/Core/AbstractWorker.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2020 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
/**

Sources/Nodes/Core/Config/Plugin.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2020 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
// swiftlint:disable period_spacing

Sources/Nodes/Core/Config/PluginList.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2020 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
// swiftlint:disable file_types_order period_spacing

Sources/Nodes/Core/Protocols/Context.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2024 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
/**

Sources/Nodes/Core/Protocols/Flow.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2024 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
/**

Sources/Nodes/Core/Protocols/Worker.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2024 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
/**

Sources/Nodes/Debugging/DebugInformation.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2022 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
#if DEBUG && canImport(Combine)

Sources/Nodes/Debugging/Node.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2024 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
#if DEBUG

Sources/Nodes/Extensions/Set.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2023 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
#if canImport(Combine)

Sources/Nodes/Internal/FlowController.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2020 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
/**

Sources/Nodes/Internal/WorkerController.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2020 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
/**

Sources/Nodes/Reactive/Cancellable.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2024 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
#if canImport(Combine)

Sources/Nodes/Reactive/MutableState.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2022 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
/**

Sources/Nodes/Reactive/StateObserver.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2021 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
#if canImport(Combine)

Sources/Nodes/Reactive/Transform.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2022 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
#if canImport(Combine)

Sources/Nodes/StateManagement/ObservableStore.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2024 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
#if canImport(Combine) && canImport(SwiftUI)

Sources/Nodes/StateManagement/Store.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2024 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
#if canImport(Combine) && canImport(Observation) && canImport(SwiftUI)

Sources/Nodes/UIKit/Classes/NavigationController.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2022 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
#if canImport(UIKit) && !os(watchOS)

Sources/Nodes/UIKit/Extensions/UINavigationController+NavigationControllable.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2020 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes/blob/main/LICENSE for license information.
38
//
49

510
#if canImport(UIKit) && !os(watchOS)

0 commit comments

Comments
 (0)