Andrew Watt

Results 18 issues of Andrew Watt

This is a fix for a new twist on an old classic: frame rounding that causes labels to be truncated. This time the issue issue appears in nested BlueprintViews. In...

Create (or upstream) a coordinate space reading element and an "anchor" type that holds the last emitted coordinate space. These can be used together to imperatively read an element's position...

This repo needs a contribution guide containing info like: - a reminder to update the changelog - updating the docs with new elements

SwiftUI has a concept of [secondary views](https://netsplit.com/swiftui/secondary-views/), which are attached to a parent view but do not play a part in layout. Handy for e.g. putting a badge on an...

Building on @square-tomb's work in #260, this PR prototypes the Perception approach more fully. This PR uses a fork of CocoaPods to pull in the SPM dependencies. Run `bundle install`...

Resolves #1057. Following the recommendation from the discussion there, this uses the repo name suffixed with `.rspm` as the package name.

Fixes #1016 This PR adds support for package registry dependencies, by adding a new build rule type. For a Package.swift dependency like this: ```swift dependencies: [ .package(id: "apple.swift-collections", from: "1.1.0"),...

[SE-0386](https://github.com/apple/swift-evolution/blob/main/proposals/0386-package-access-modifier.md) introduced the `package` access level. Packages using this require a `-package-name` argument to the compiler, which `rules_swift` rules [support via a `package_name` argument](https://github.com/bazelbuild/rules_swift/blob/master/doc/rules.md). SE-0386 says this about the package...

enhancement