You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to use CDAlertView in a Obj-C project but I've noticed some methods are not available. For exemple hide(animations: CDAlertAnimationBlock? = nil, isPopupAnimated: Bool) is not here.
I've install the library with CocoaPods.
To try, I've created a new method in CDAlertView :
public func hide(isPopupAnimated: Bool) { self.hide(animations: nil, isPopupAnimated: isPopupAnimated) }
This one appear in the generated .h. It seem like the CDAlertAnimationBlock is the problem.
The text was updated successfully, but these errors were encountered:
Sorry for late response as I was in holidays. Some Swift features (inout in this case) are not available in Objective-C. So, bridging CDAlertAnimationBlock will not be included in Objective-C.
Hi,
I try to use CDAlertView in a Obj-C project but I've noticed some methods are not available. For exemple hide(animations: CDAlertAnimationBlock? = nil, isPopupAnimated: Bool) is not here.
I've install the library with CocoaPods.
To try, I've created a new method in CDAlertView :
public func hide(isPopupAnimated: Bool) { self.hide(animations: nil, isPopupAnimated: isPopupAnimated) }
This one appear in the generated .h. It seem like the CDAlertAnimationBlock is the problem.
The text was updated successfully, but these errors were encountered: