Skip to content

Commit

Permalink
Resolved a Swift 5.9 compilation warning (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
robmaceachern committed Sep 1, 2023
1 parent 13309a5 commit 97a22cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion BlueprintUI/Sources/Environment/Environment.swift
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,5 @@ extension UIView {
}
}

private static var environmentKey = NSObject()
private static var environmentKey: UInt8 = 0
}
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- Resolved a Swift 5.9 compilation warning: Forming 'UnsafeRawPointer' to a variable of type 'NSObject'; this is likely incorrect because 'NSObject' may contain an object reference.
- `KeyboardObserver` has been updated to handle iOS 16.1+ changes that use the screen's coordinate space to report keyboard position. This can impact reported values when the app isn't full screen in Split View, Slide Over, and Stage Manager.

### Added
Expand Down

0 comments on commit 97a22cc

Please sign in to comment.