The little alert that could
This is a compatibility update for Swift 3.
Bug Fixes:
This is a compatibility update for Swift 2.3.
Bug Fixes:
Bug Fixes:
DefaultVisualStyle
. The VisualStyle
protocol has been removed and the conforming class been renamed to AlertVisualStyle
. The old class name is still available, but marked as deprecated and will be removed in the future.What's New:
AlertAction
's handler
public.5.0 is a compatibility update so the project builds in Swift 2.2 and doesn't generate warnings. It also changes the Objective-C names of the public enums, which Swift now supports.
Bug Fixes:
textColorForAction()
over the tintColor
of an actionvisualStyle
as a property on SDCAlertController
in Objective-CactionLayout
a non-optional, allowing it to be exposed to Objective-CDefaultVisualStyle
so subclassers don't have to implement this separatelyBug Fixes:
What's New:
Changes:
This version introduces other changes that are not compatible with previous
versions of SDCAlertView
.
automaticallyFocusFirstTextField
property is now implemented as an alert behaviorpresentAnimated:completion:
and dismissAnimated:completion:
to follow Objective-C nomenclature more closelyVisualStyle
. To change the labels' fonts, please use attributedTitle
and attributedMessage
with NSFontAttributeName
instead.setShouldDismissHandler()
and setVisualStyle()
are now properties named shouldDismissHandler
and visualStyle
respectively. Their functionality is unchanged.showWithTitle(_:message:actionTitle:customView:)
has been renamed to alertWithTitle(_:message:actionTitle:customView:)
to provide more consistency with the action sheet's counterpartBug Fixes:
What's New:
Bug Fixes:
Bug Fixes: