SDCAlertView

The little alert that could

MIT License

Stars
1.9K
Committers
53

Bot releases are hidden (Show)

SDCAlertView - 7.0 (Swift 3)

Published by sberrevoets about 8 years ago

This is a compatibility update for Swift 3.

Bug Fixes:

  • Correctly calls the cancel button's handler in action sheets (#161)
SDCAlertView - 6.0 (Swift 2.3)

Published by sberrevoets about 8 years ago

This is a compatibility update for Swift 2.3.

SDCAlertView - 5.1.1

Published by sberrevoets about 8 years ago

Bug Fixes:

  • Gives action buttons the button trait for Voice Over
SDCAlertView - 5.1

Published by sberrevoets over 8 years ago

Bug Fixes:

  • Fixes the inability to override visual style properties in a subclass of 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:

  • Makes an AlertAction's handler public.
SDCAlertView - 5.0

Published by sberrevoets over 8 years ago

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:

  • Prioritize textColorForAction() over the tintColor of an action
  • Properly exposes visualStyle as a property on SDCAlertController in Objective-C
  • Makes actionLayout a non-optional, allowing it to be exposed to Objective-C
  • Exposes a public init method in DefaultVisualStyle so subclassers don't have to implement this separately
  • Correctly shows buttons if an alert has scrollable content after rotation
  • Fixes incorrect accessibility labels on buttons
SDCAlertView - 4.0.1

Published by sberrevoets almost 9 years ago

Bug Fixes:

  • Fixes incorrect fonts for text in alerts
SDCAlertView - 4.0

Published by sberrevoets almost 9 years ago

What's New:

  • Adds support for presenting action sheets
  • Implements alert behaviors such as parallax and "tap outside to dismiss"
  • Action highlight colors can be changed with custom visual styles

Changes:
This version introduces other changes that are not compatible with previous
versions of SDCAlertView.

  • The automaticallyFocusFirstTextField property is now implemented as an alert behavior
  • In Objective-C, the presentation and dismissal methods are now named presentAnimated:completion: and dismissAnimated:completion: to follow Objective-C nomenclature more closely
  • The title and message label fonts are removed from VisualStyle. 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.
  • The convenience method showWithTitle(_:message:actionTitle:customView:) has been renamed to alertWithTitle(_:message:actionTitle:customView:) to provide more consistency with the action sheet's counterpart
SDCAlertView - 3.1.1

Published by sberrevoets almost 9 years ago

Bug Fixes:

  • Fixes a retain cycle
  • Resolves an issue that would not correctly disable actions when needed
SDCAlertView - 3.1

Published by sberrevoets almost 9 years ago

What's New:

  • Adds an option to give the alert a different background color

Bug Fixes:

  • Fixes a bug that would not apply appropriate padding to the labels
SDCAlertView - 3.0.4

Published by sberrevoets almost 9 years ago

Bug Fixes:

  • Fixes a crash on iOS 8 when adding text fields to the alert
SDCAlertView - 3.0.3

Published by sberrevoets almost 9 years ago

Bug Fixes:

  • Resolves an issue that would never use the white status bar color if it was specified
SDCAlertView - 3.0.2

Published by sberrevoets almost 9 years ago

Bug Fixes:

  • Fixes a major issue that would simply not display an alert
  • The example project now formally depends on the SDCAlertView target
  • Added a missing docstring
SDCAlertView - 3.0.1

Published by sberrevoets about 9 years ago

Bug Fixes:

  • Fixes an issue that would sometimes use the wrong scroll direction for actions
  • Fixes the pod spec so it refers to the correct tag, not a branch
  • Removes some unused (overridden) methods in the Objective-C bridging header
SDCAlertView - 3.0

Published by sberrevoets about 9 years ago

What's New:

  • Completely rewritten in Swift
  • Updated for iOS 9
  • Deployment target increased to iOS 8
SDCAlertView - 2.5.4

Published by sberrevoets about 9 years ago

Bug Fixes:

  • Fixes a bug where long action titles could extend outside the bounds of their containing button
SDCAlertView - 2.5.3

Published by sberrevoets about 9 years ago

This release provides Xcode 7 compatibility by fixing build errors/warnings.

SDCAlertView - 2.5.2

Published by sberrevoets over 9 years ago

Bug Fixes:

  • Solves an accessibility-related incompatibility between UIAlertController and SDCAlertController (#105)
SDCAlertView - 2.5.1

Published by sberrevoets over 9 years ago

The previous version was not the last release after all 😃

Bug Fixes:

  • Fixes a bug that would show the wrong cancel button title in a legacy alert in some cases
  • Fixes a retain cycle between SDCAlertController and SDCAlertView
SDCAlertView - 2.5

Published by sberrevoets over 9 years ago

Unless urgent bugs come up, this will likely be the final release before version 3.0 which will incorporate whatever changes (if any) iOS 9 introduces and will be fully written in Swift.

What's New:

  • You can now specify the text alignment of the message label (#101)

Bug Fixes:

  • Fixes an infinite loop that occurred on some device configurations (#91)
  • Fixes the wrong button handler being called in some cases on iOS 7 (#97)
SDCAlertView - 2.4.2

Published by sberrevoets over 9 years ago

What's New:

  • Re-introduces an explicit title property without generating warnings (#99)
Package Rankings
Top 1.23% on Cocoapods.org
Top 17.35% on Carthage
Related Projects