scenee / FloatingPanel

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

xcode 14 Stored properties cannot be marked potentially unavailable with '@available' #553

Closed hanshamm closed 2 years ago

hanshamm commented 2 years ago

Please fill out this template appropriately when filing a bug report.

Please remove this line and everything above it before submitting.

Description

in SurfaceView.swift:56 XCode 14 compiler complains about @available cannot apply to properties.

Expected behavior

compiles without error in XCode 14

Actual behavior

Compile error

Steps to reproduce

use pod through cocoa pods on Xcode 14 beta and hit compile

Environment

Debug

Library version 2.5.2

Installation method CocoaPods

iOS version(s)

Xcode version Version 14.0 beta (14A5228q)

Mathbl commented 2 years ago

https://github.com/scenee/FloatingPanel/releases/tag/2.5.3

scenee commented 2 years ago

Duplicate of #543