Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Example/GradientProgressBarExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,9 @@
SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_STRICT_CONCURRENCY = complete;
SWIFT_UPCOMING_FEATURE_EXISTENTIAL_ANY = YES;
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
SWIFT_VERSION = 5.0;
SWIFT_VERSION = 6.0;
TARGETED_DEVICE_FAMILY = "1,2,7";
XROS_DEPLOYMENT_TARGET = 26.0;
};
Expand Down Expand Up @@ -336,8 +337,9 @@
SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_STRICT_CONCURRENCY = complete;
SWIFT_UPCOMING_FEATURE_EXISTENTIAL_ANY = YES;
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
SWIFT_VERSION = 5.0;
SWIFT_VERSION = 6.0;
TARGETED_DEVICE_FAMILY = "1,2,7";
XROS_DEPLOYMENT_TARGET = 26.0;
};
Expand Down
10 changes: 10 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@

import PackageDescription

let swiftSettings: [SwiftSetting] = [
.enableUpcomingFeature("ExistentialAny"),
.enableUpcomingFeature("MemberImportVisibility"),
.enableUpcomingFeature("NonisolatedNonsendingByDefault"),
.enableUpcomingFeature("InferIsolatedConformances"),
.enableUpcomingFeature("InternalImportsByDefault"),
]

let package = Package(
name: "GradientProgressBar",
platforms: [.iOS(.v26)],
Expand All @@ -24,6 +32,7 @@ let package = Package(
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "GradientProgressBar",
swiftSettings: swiftSettings,
),
.testTarget(
name: "GradientProgressBarTests",
Expand All @@ -40,6 +49,7 @@ let package = Package(
resources: [
.copy("SnapshotTests/__Snapshots__"),
],
swiftSettings: swiftSettings,
),
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2026 Felix Mau. All rights reserved.
//

import Foundation
public import Foundation

public extension CGFloat {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2026 Felix Mau. All rights reserved.
//

import Foundation
public import Foundation

public extension TimeInterval {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Copyright © 2026 Felix Mau. All rights reserved.
//

import SwiftUI
import UIKit
public import SwiftUI
public import UIKit

public extension UIColor {

Expand Down
2 changes: 1 addition & 1 deletion Sources/GradientProgressBar/GradientProgressBar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2017 Felix Mau. All rights reserved.
//

import UIKit
public import UIKit

/// A protocol that defines an interface for displaying and updating progress.
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2022 Felix Mau. All rights reserved.
//

import SwiftUI
public import SwiftUI

/// A custom `ProgressViewStyle` that displays progress as a horizontal gradient bar.
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// Copyright © 2019 Felix Mau. All rights reserved.
//

import CoreGraphics
import Foundation
import Observation

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// Copyright © 2019 Felix Mau. All rights reserved.
//

import CoreGraphics
import Foundation
import Testing
@testable import GradientProgressBar
Expand Down
Loading