Skip to content

Commit 4c19b20

Browse files
committed
Fixed bugs for Xcode 13.3.
1 parent e17712f commit 4c19b20

File tree

7 files changed

+9
-6
lines changed

7 files changed

+9
-6
lines changed

Example App/SPAlert.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example App/iOS Example/App/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class AppDelegate: SPAppWindowDelegate {
2727

2828
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
2929
let rootController = PresetsController().wrapToNavigationController(prefersLargeTitles: false)
30-
makeKeyAndVisible(rootController, tint: .systemBlue)
30+
makeKeyAndVisible(viewController: rootController, tint: .systemBlue)
3131
return true
3232
}
3333
}

SPAlert.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = 'SPAlert'
4-
s.version = '3.2.4'
4+
s.version = '3.3.0'
55
s.summary = 'Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets.'
66
s.homepage = 'https://github.com/ivanvorobei/SPAlert'
77
s.source = { :git => 'https://github.com/ivanvorobei/SPAlert.git', :tag => s.version }

Sources/SPAlert/Extensions/SwiftUIExtension.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import SwiftUI
2525

2626
@available(iOS 13.0, *)
27+
@available(iOSApplicationExtension, unavailable)
2728
extension View {
2829

2930
public func spAlert(

Sources/SPAlert/SPAlert.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import UIKit
2525
SPAlert: Acess level. Here you get ready-use methods.
2626
Recomended use it.
2727
*/
28+
@available(iOSApplicationExtension, unavailable)
2829
public enum SPAlert {
2930

3031
/**

Sources/SPAlert/SPAlertView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import UIKit
3333

3434
Recomended call `SPAlert` and choose style func.
3535
*/
36+
@available(iOSApplicationExtension, unavailable)
3637
open class SPAlertView: UIView {
3738

3839
// MARK: - Properties

0 commit comments

Comments
 (0)