Releases: backslash-f/cskscene
Releases · backslash-f/cskscene
v0.2.6
Changelog
- Update to Swift 5.5
- Remove "insets" var
- (It was producing the bizarre
'sharedApplication' is unavailable: not available on iOS (App Extension) - Use view controller based solutions where appropriate instead
error)
- (It was producing the bizarre
- Update GCOverseer (0.2.2)
- Update GitHub YML (to use Xcode 13)
v0.2.5
Now CSKScene
is also of ObservableObject
type , which supports using @StateObject
.
For example:
@StateObject private var scene: CSKScene { ... }
v0.2.4
Adds the new CSKnode
class.
v0.2.3
Use didChangeSize(_:)
to log the scene size.
v0.2.2
Add static CSKScene.makeScene()
.
v0.2.1
Unlocks the version of the GCOverseer
dependency, meaning it will always use its latest version by default.
v0.2.0
New coordinate properties available:
Property | Description | Notes |
---|---|---|
var viewTop: CGFloat |
The "highest SKScene point" converted from the "highest SKView point". |
- |
var viewBottom: CGFloat |
The "lowest SKScene point" converted from the "lowestSKView point". |
- |
var viewLeft: CGFloat |
The "leftmost SKScene point" converted from the "leftmostSKView point". |
- |
var viewRight: CGFloat |
The "rightmost SKScene point" converted from the "rightmostSKView point". |
- |
var insets: UIEdgeInsets |
The insets used to determine the safe area of the window. | iOS, tvOS and Mac Catalyst only, as it relies on UIEdgeInsets . |
v0.1.0
Update README.md