Skip to content

Releases: lobianco/ALAlertBanner

0.3.1

01 Nov 13:31
Compare
Choose a tag to compare

Added

  • New method: forceHideAllAlertBannersInView: for use when pushing/popping controllers

Fixed

  • #16, #17, #18

0.3.0

04 Sep 01:36
Compare
Choose a tag to compare

Added

  • Cleaner, future-proof code. New API requires you to create a banner, (optionally) customize it, and explicitly show it like so:
ALAlertBanner *banner = [ALAlertBanner alertBannerForView:self.view 
                                                    style:ALAlertBannerStyleSuccess 
                                                 position:ALAlertBannerPositionTop 
                                                    title:@"Success!" 
                                                 subtitle:@"Here's a banner. That was easy."]; 

/* 
 optionally customize banner properties here...
 */

[banner show];
  • Some methods were removed in the refactoring. API changes should slow down as ALAlertBanner matures.

0.2.2

30 Aug 19:26
Compare
Choose a tag to compare

Added

  • Merged a few changes from #5 (private methods moved to private header, Manager now returns an instance of ALAlertBannerView
  • Minimum iOS version is now permanently 5.0
  • ALAlertBannerStyleAlert renamed to ALAlertBannerStyleWarning
  • Cleaned up code

0.2.1

29 Aug 17:46
Compare
Choose a tag to compare

Fixed

  • Issue #4

0.2.0

28 Aug 17:21
Compare
Choose a tag to compare

Added

  • Tap handler
  • New methods:
-(void)showAlertBannerInView:(UIView*)view 
                       style:(ALAlertBannerStyle)style 
                    position:(ALAlertBannerPosition)position 
                       title:(NSString*)title 
                    subtitle:(NSString*)subtitle 
                   hideAfter:(NSTimeInterval)secondsToShow;

-(void)showAlertBannerInView:(UIView*)view 
                       style:(ALAlertBannerStyle)style 
                    position:(ALAlertBannerPosition)position 
                       title:(NSString*)title 
                    subtitle:(NSString*)subtitle 
               tappedHandler:(void(^)(ALAlertBannerView *alertBanner))tappedBlock; 

-(void)showAlertBannerInView:(UIView*)view 
                       style:(ALAlertBannerStyle)style 
                    position:(ALAlertBannerPosition)position 
                       title:(NSString*)title 
                    subtitle:(NSString*)subtitle 
                   hideAfter:(NSTimeInterval)secondsToShow 
               tappedHandler:(void(^)(ALAlertBannerView *alertBanner))tappedBlock; 

-(void)hideAlertBanner:(ALAlertBannerView *)alertBanner;

Fixed

  • Issue #2

0.1.1

27 Aug 01:29
Compare
Choose a tag to compare

Fixed

  • Issue #1.

0.1.0

25 Aug 20:41
Compare
Choose a tag to compare

Initial release.