Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ekurutepe committed Jan 4, 2013
1 parent b958c14 commit a3f767e
Show file tree
Hide file tree
Showing 17 changed files with 1,258 additions and 0 deletions.
26 changes: 26 additions & 0 deletions MPNotificationView/MPNotificationView.h
@@ -0,0 +1,26 @@
//
// MPNotificationView.h
// Moped
//
// Created by Engin Kurutepe on 1/2/13.
// Copyright (c) 2013 Moped Inc. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface MPNotificationView : UIView

@property (nonatomic, strong) UILabel * textLabel;
@property (nonatomic, strong) UILabel * detailTextLabel;
@property (nonatomic, strong) UIImageView * imageView;

@property (nonatomic) NSTimeInterval duration;

+ (void) notifyWithText:(NSString*)text
detail:(NSString*)detail
image:(UIImage*)image
andDuration:(NSTimeInterval)duration;
+ (void) notifyWithText:(NSString*)text andDetail:(NSString*)detail andDuration:(NSTimeInterval)duration;
+ (void) notifyWithText:(NSString*)text andDetail:(NSString*)detail;

@end

0 comments on commit a3f767e

Please sign in to comment.