Skip to content

Commit

Permalink
Paywalls: added MIT license to all headers (#3084)
Browse files Browse the repository at this point in the history
`Xcode` doesn't allow customizing the header (looks like maybe it worked
at some point but not anymore:
https://stackoverflow.com/questions/67614785/changing-the-default-header-comment-license-in-swift-package).

At least this adds the license to all the initial files in the package.
  • Loading branch information
NachoSoto committed Sep 8, 2023
1 parent f402079 commit fe7bbf5
Show file tree
Hide file tree
Showing 61 changed files with 535 additions and 99 deletions.
10 changes: 8 additions & 2 deletions RevenueCatUI/Data/Constants.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// Constants.swift
//
//
// Created by Nacho Soto on 7/13/23.
//

import SwiftUI

Expand Down
10 changes: 8 additions & 2 deletions RevenueCatUI/Data/Errors/PaywallError.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// PaywalError.swift
//
//
// Created by Nacho Soto on 7/21/23.
//

import Foundation

Expand Down
10 changes: 8 additions & 2 deletions RevenueCatUI/Data/Errors/TemplateError.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// TemplateError.swift
//
//
// Created by Nacho Soto on 7/17/23.
//

import Foundation
import RevenueCat
Expand Down
10 changes: 8 additions & 2 deletions RevenueCatUI/Data/IntroEligibilityViewModel.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// IntroEligibilityViewModel.swift
//
//
// Created by Nacho Soto on 7/26/23.
//

import RevenueCat
import SwiftUI
Expand Down
10 changes: 8 additions & 2 deletions RevenueCatUI/Data/Localization.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
//
// Localization.swift
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// Created by Nacho Soto on 7/20/23.
// https://opensource.org/licenses/MIT
//
// Localization.swift
//
// Created by Nacho Soto on 7/20/23.

import Foundation
import RevenueCat
Expand Down
12 changes: 9 additions & 3 deletions RevenueCatUI/Data/LocalizedAlertError.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
//
// File.swift
//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Created by Nacho Soto on 7/21/23.
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// LocalizedAlertError.swift
//
// Created by Nacho Soto on 7/21/23.

import RevenueCat
import SwiftUI
Expand Down
10 changes: 8 additions & 2 deletions RevenueCatUI/Data/PaywallData+Validation.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// PaywallData+Validation.swift
//
//
// Created by Nacho Soto on 8/15/23.
//

import RevenueCat

Expand Down
10 changes: 8 additions & 2 deletions RevenueCatUI/Data/PaywallViewMode+Extensions.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// PaywallViewMode+Extensions.swift
//
//
// Created by Nacho Soto on 8/9/23.
//

import RevenueCat

Expand Down
11 changes: 11 additions & 0 deletions RevenueCatUI/Data/ProcessedLocalizedConfiguration.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// ProcessedLocalizedConfiguration.swift

import Foundation
import RevenueCat

Expand Down
10 changes: 8 additions & 2 deletions RevenueCatUI/Data/Strings.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// Strings.swift
//
//
// Created by Nacho Soto on 7/31/23.
//

import Foundation
import RevenueCat
Expand Down
10 changes: 8 additions & 2 deletions RevenueCatUI/Data/TemplateViewConfiguration+Images.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// TemplateViewConfiguration+Images.swift
//
//
// Created by Nacho Soto on 7/25/23.
//

import Foundation
import RevenueCat
Expand Down
10 changes: 8 additions & 2 deletions RevenueCatUI/Data/TemplateViewConfiguration.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// TemplateViewConfiguration.swift
//
//
// Created by Nacho Soto on 7/17/23.
//

import Foundation
import RevenueCat
Expand Down
11 changes: 11 additions & 0 deletions RevenueCatUI/Data/Variables.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// TestData.swift

import Foundation
import RegexBuilder
import RevenueCat
Expand Down
10 changes: 8 additions & 2 deletions RevenueCatUI/Helpers/ColorInformation+MultiScheme.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// ColorInformation+MultiScheme.swift
//
//
// Created by Nacho Soto on 7/14/23.
//

import Foundation
import RevenueCat
Expand Down
10 changes: 8 additions & 2 deletions RevenueCatUI/Helpers/Logger.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// Logger.swift
//
//
// Created by Nacho Soto on 7/12/23.
//

import RevenueCat

Expand Down
11 changes: 11 additions & 0 deletions RevenueCatUI/Helpers/Package+VariableDataProvider.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// Package+VariableDataProvider.swift

import Foundation
import RevenueCat

Expand Down
10 changes: 8 additions & 2 deletions RevenueCatUI/Helpers/PaywallData+Default.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// PaywallData+Default.swift
//
//
// Created by Nacho Soto on 7/20/23.
//

import Foundation
import RevenueCat
Expand Down
10 changes: 8 additions & 2 deletions RevenueCatUI/Helpers/PreviewHelpers.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// PreviewHelpers.swift
//
//
// Created by Nacho Soto on 7/29/23.
//

import RevenueCat
import SwiftUI
Expand Down
10 changes: 8 additions & 2 deletions RevenueCatUI/Helpers/TrialOrIntroEligibilityChecker.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// TrialOrIntroEligibilityChecker.swift
//
//
// Created by Nacho Soto on 7/13/23.
//

import Foundation
import RevenueCat
Expand Down
10 changes: 8 additions & 2 deletions RevenueCatUI/Helpers/VersionDetector.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// VersionDetector.swift
//
//
// Created by Nacho Soto on 8/17/23.
//

import Foundation

Expand Down
10 changes: 8 additions & 2 deletions RevenueCatUI/Modifiers/FitToAspectRatio.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// FitToAspectRatio.swift
//
//
// Created by Nacho Soto on 7/13/23.
//

import Foundation
import SwiftUI
Expand Down
10 changes: 8 additions & 2 deletions RevenueCatUI/Modifiers/FooterHidingModifier.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
//
// FooterHidingModifier.swift
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// Created by Nacho Soto on 8/9/23.
// https://opensource.org/licenses/MIT
//
// FooterHidingModifier.swift
//
// Created by Nacho Soto on 8/9/23.

import RevenueCat
import SwiftUI
Expand Down
Loading

0 comments on commit fe7bbf5

Please sign in to comment.