Skip to content

Commit

Permalink
Udpates example project to Swift 6
Browse files Browse the repository at this point in the history
  • Loading branch information
s4cha committed Sep 20, 2024
1 parent c15d59c commit 7d2e679
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 52;
objectVersion = 54;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -328,7 +328,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = com.freshos.KeyboardLayoutGuideExample;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
SWIFT_VERSION = 6.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
Expand All @@ -347,7 +347,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = com.freshos.KeyboardLayoutGuideExample;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
SWIFT_VERSION = 6.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import UIKit

@UIApplicationMain
@main
class AppDelegate: UIResponder, UIApplicationDelegate {

var window: UIWindow?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ class InvertedButton: UIButton {
}
}

override func awakeFromNib() {
super.awakeFromNib()
required init?(coder: NSCoder) {
super.init(coder: coder)
updateBackgroundColor()
}

Expand Down

0 comments on commit 7d2e679

Please sign in to comment.