30 lines
653 B
Objective-C
30 lines
653 B
Objective-C
//
|
|
// TLBottleButton.h
|
|
// TLChat
|
|
//
|
|
// Created by 李伯坤 on 16/2/22.
|
|
// Copyright © 2016年 李伯坤. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
typedef NS_ENUM(NSUInteger, TLBottleButtonType) {
|
|
TLBottleButtonTypeThrow,
|
|
TLBottleButtonTypePickUp,
|
|
TLBottleButtonTypeMine,
|
|
};
|
|
|
|
@interface TLBottleButton : UIButton
|
|
|
|
@property (nonatomic, strong) NSString *title;
|
|
|
|
@property (nonatomic, strong) NSString *iconPath;
|
|
|
|
@property (nonatomic, assign) TLBottleButtonType type;
|
|
|
|
@property (nonatomic, assign) NSUInteger msgNumber;
|
|
|
|
- (id)initWithType:(TLBottleButtonType)type title:(NSString *)title iconPath:(NSString *)iconPath;
|
|
|
|
@end
|