STEmojiCollectionView.h 720 Bytes
Newer Older
曹云霄's avatar
曹云霄 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
//
//  STEmojiCollectionView.h
//  STEmojiKeyboard
//
//  Created by zhenlintie on 15/5/29.
//  Copyright (c) 2015年 sTeven. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol STEmojiCollectionViewDelegate;

@interface STEmojiCollectionView : UIScrollView

@property (weak, nonatomic) id<STEmojiCollectionViewDelegate> emojiDelegate;

- (void)reloadData;

- (void)showSection:(NSInteger)section;

@end

@protocol STEmojiCollectionViewDelegate <NSObject>

@required
- (NSInteger)countOfEmojiPageSection;
- (NSArray *)emojisForSection:(NSInteger)section;
- (NSString *)titleForSection:(NSInteger)section;

@optional
- (void)emojiDidClicked:(NSString *)emoji;
- (void)didScrollToSection:(NSInteger)section;

@end