shin8484 / PopupWindow

PopupWindow is a simple Popup using another UIWindow in Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fatal Error

EricSpera opened this issue · comments

There is a fatal error in PopupViewContainable.swift using Xcode 11.3:
PopupViewContainable.swift:12:5: error: 'weak' cannot be applied to a property declaration in a protocol
weak var containerView: UIView! { get }

The error can be fixed by removing the "weak" in the var declaration. I'm not sure if a property needs to be declared as "weak" instead.