scenee / FloatingPanel

A clean and easy-to-use floating panel UI component for iOS
MIT License
5.61k stars 509 forks source link

Problem with cornerCurve with XCode 14 beta #554

Closed vitaminBW closed 2 years ago

vitaminBW commented 2 years ago

Description

Problem with cornerCurve with XCode 14 beta

Expected behavior

No errors

Actual behavior

in class SurfaceAppearance @available(iOS 13.0, *) public lazy var cornerCurve: CALayerCornerCurve = .circular Error text - "Stored properties cannot be marked potentially unavailable with '@available'"

Steps to reproduce

Just try to build a project

How do you display panel(s)? Present modally

How many panels do you displays? 1

Environment

Library version pod 'FloatingPanel', '~> 2.5'

Installation method CocoaPods

iOS version(s) iOS 16 beta

Xcode version XCode 14 beta

andrewdmontgomery commented 2 years ago

I believe this was addressed in #548 which merged into v2.5.3

scenee commented 2 years ago

Yes it is. Please use 2.5.3 for Xcode 14 beta.