/AZNotification

Notification Control Using UIKit Dynamics in iOS 7

Primary LanguageObjective-C

AZNotification

AZNotification is a custom control which allows the user to provide user interface notifications to the user. AZNotification is implemented for iOS 7 framework and utilizes the UIKit Dynamics to create the physics effects.

Screenshot

Video

You can watch the video using the link below:

AZNotification Video on YouTube

Installation

  • Copy the contents of the "src" folder in your application.
  • #import "AZNotification.h"

The AZNotification control will be available as a Cocoapod soon.

Usage

// This shows the notification under the navigation bar
    [AZNotification showNotificationWithTitle:@"Success! Now let's play!" controller:self notificationType:AZNotificationTypeSuccess shouldShowNotificationUnderNavigationBar:YES];
 
    [AZNotification showNotificationWithTitle:@"Error: WTF happened!" controller:self notificationType:AZNotificationTypeError];
  
    [AZNotification showNotificationWithTitle:@"Oh BTW! Your hair is on fire!" controller:self notificationType:AZNotificationTypeWarning];
    
    [AZNotification showNotificationWithTitle:@"There are no new messages!" controller:self notificationType:AZNotificationTypeMessage];