Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
szewah opened this issue Jan 5, 2023 · 2 comments

Comments

@szewah
Copy link

szewah commented Jan 5, 2023

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

@scenee
Copy link
Owner

scenee commented Jan 6, 2023

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.

@szewah
Copy link
Author

szewah commented Jan 6, 2023

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.

@szewah szewah closed this as completed Jan 6, 2023
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

No branches or pull requests

2 participants