Skip to content

Conversation

WillBishop
Copy link
Contributor

This is a tiny PR that adds supports for UICornerConfiguration. If it is set on SurfaceAppearance, any other property like cornerCurve or cornerRadius is ignored.

@WillBishop
Copy link
Contributor Author

(the checks fail because it's not running against the Xcode 26 beta)

@scenee
Copy link
Owner

scenee commented Aug 7, 2025

Thanks for this PR! Using the compiler(>=6.2) compilation condition like this should allow the checks to pass.

    #if compiler(>=6.2)
    @available(iOS 26.0, *)
    public var cornerConfiguration: UICornerConfiguration? {
        get { _cornerConfiguration as? UICornerConfiguration }
        set { _cornerConfiguration = newValue }
    }

    private var _cornerConfiguration: Any?
    #endif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants