You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug CGRect and other related types created in Tokamak aren't the same as Foundation types and can't be passed to functions/types expecting Foundation types.
Resolves#404.
This also allows us to write more tests that are source-compatible with SwiftUI.
* Use `CGFloat`, `CGPoint`, `CGRect` from Foundation
* Fix GTK build
* Fix macOS build
Describe the bug
CGRect
and other related types created in Tokamak aren't the same as Foundation types and can't be passed to functions/types expecting Foundation types.We should be using types declared in https://github.com/apple/swift-corelibs-foundation/blob/eec4b26deee34edb7664ddd9c1222492a399d122/Sources/Foundation/NSGeometry.swift instead of rolling our own versions. I've tried that at some point, but that broke our SVG rendering. We need to cover that with tests and do a safe migration to the original Foundation's version.
The text was updated successfully, but these errors were encountered: