Skip to content

Commit

Permalink
Merge branch 'master' of github.com:cruffenach/CRToast
Browse files Browse the repository at this point in the history
  • Loading branch information
Collin Ruffenach committed Feb 17, 2014
2 parents d6fad24 + abde9a1 commit 3711711
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CRToast/CRToast.m
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ + (instancetype)notificationWithOptions:(NSDictionary*)options completionBlock:(
return notification;
}

+ (id)sharedNotification {
+ (instancetype)sharedNotification {
static dispatch_once_t once;
static id sharedInstance;
dispatch_once(&once, ^{
Expand Down Expand Up @@ -519,7 +519,7 @@ @interface CRToastView ()

@implementation CRToastView

- (id)initWithFrame:(CGRect)frame {
- (instancetype)initWithFrame:(CGRect)frame {
self = [super initWithFrame:frame];
if (self) {
UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectZero];
Expand Down Expand Up @@ -605,7 +605,7 @@ + (instancetype)manager {
return sharedInstance;
}

- (id)init {
- (instancetype)init {
self = [super init];
if (self) {
UIWindow *notificationWindow = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
Expand Down Expand Up @@ -761,7 +761,7 @@ - (void)displayNotification:(CRToast*)notification {

#pragma mark - Overrides

- (BOOL)showingNotification {;
- (BOOL)showingNotification {
return self.notifications.count > 0;
}

Expand Down

0 comments on commit 3711711

Please sign in to comment.