scenee / FloatingPanel

A clean and easy-to-use floating panel UI component for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SurfaceView : Stored properties cannot be marked potentially unavailable with '@available'

szewah opened this issue · comments

Description

When building app, error for SurfaceView: Stored properties cannot be marked potentially unavailable with '@available'.

Expected behavior

The app to build without error.

Actual behavior

Build fails.

Steps to reproduce

 let fpc = FloatingPanelController()
 fpc.delegate = self
 fpc.isRemovalInteractionEnabled = true 

How do you display panel(s)?

  • Add as child view controllers

How many panels do you displays?

  • 2+

Environment

Library version
2.5.5

Installation method

  • CocoaPods

iOS version(s)
14

Xcode version
14.2

Stored properties cannot be marked potentially unavailable with '@ available'.

Does this error occur on SurfaceView.cornerCurve? If so, I'm wondering why it happens on v2.5.5 because it has been fixed since v2.5.3 which includes #548.

Thanks for getting back to me. It happened on a corner curve.
Screen Shot 2023-01-05 at 11 26 32 AM
This morning, I downloaded my project again and reinstalled the pods. It's working now. No error showing on the SurfaceView.