Skip to content

Commit

Permalink
Xcode 13 SPM fix (#121)
Browse files Browse the repository at this point in the history
Fix for changed behaviour for SPM on Xcode 13b3 and Xcode 13b4
  • Loading branch information
1337domz authored Aug 4, 2021
1 parent 45b8e76 commit 3ddaa02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/PartialSheet/PartialSheetViewModifier.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import SwiftUI
import Combine

/// This is the modifier for the Partial Sheet
@available(iOSApplicationExtension, unavailable)
struct PartialSheet: ViewModifier {

// MARK: - Public Properties
Expand Down Expand Up @@ -151,6 +152,7 @@ struct PartialSheet: ViewModifier {
}

//MARK: - Platfomr Specific Sheet Builders
@available(iOSApplicationExtension, unavailable)
extension PartialSheet {

//MARK: - Mac and iPad Sheet Builder
Expand Down Expand Up @@ -248,6 +250,7 @@ extension PartialSheet {
}

// MARK: - Drag Gesture & Handler
@available(iOSApplicationExtension, unavailable)
extension PartialSheet {

/// Create a new **DragGesture** with *updating* and *onEndend* func
Expand Down Expand Up @@ -319,6 +322,7 @@ extension PartialSheet {
}

// MARK: - Keyboard Handlers Methods
@available(iOSApplicationExtension, unavailable)
extension PartialSheet {

/// Add the keyboard offset
Expand Down Expand Up @@ -352,6 +356,7 @@ extension PartialSheet {
}

// MARK: - PreferenceKeys Handlers
@available(iOSApplicationExtension, unavailable)
extension PartialSheet {

/// Preference Key for the Sheet Presener
Expand Down
1 change: 1 addition & 0 deletions Sources/PartialSheet/View+PartialSheetModifier.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import SwiftUI

@available(iOSApplicationExtension, unavailable)
extension View {
/**
Add a PartialSheet to the current view. You should attach it to your Root View.
Expand Down

0 comments on commit 3ddaa02

Please sign in to comment.