Add comment documentation
This commit is contained in:
parent
b218b7f832
commit
5b6e21e2e9
|
|
@ -24,18 +24,25 @@
|
|||
|
||||
/**
|
||||
* ISEmojiView Delegate
|
||||
*
|
||||
* Used to respond to some of the operations callback
|
||||
*/
|
||||
@protocol ISEmojiViewDelegate <NSObject>
|
||||
|
||||
/**
|
||||
* When you choose a Emoji
|
||||
*
|
||||
* @param emojiView The emoji keyboard view
|
||||
* @param emoji The selected emoji character
|
||||
*/
|
||||
-(void)emojiView:(ISEmojiView *)emojiView didSelectEmoji:(NSString *)emoji;
|
||||
|
||||
/**
|
||||
* When the touch bottom right corner of the delete key
|
||||
*
|
||||
* You should remove the last character(emoji) in the text box
|
||||
* @param emojiView The emoji keyboard view
|
||||
* @param deletebutton The delete button
|
||||
*/
|
||||
-(void)emojiView:(ISEmojiView *)emojiView didPressDeleteButton:(UIButton *)deletebutton;
|
||||
|
||||
|
|
@ -43,6 +50,8 @@
|
|||
|
||||
|
||||
/**
|
||||
* The Delete key
|
||||
* The Delete Button
|
||||
*
|
||||
* You do not care about it
|
||||
*/
|
||||
@interface ISDeleteButton : UIButton @end
|
||||
|
|
@ -14,8 +14,19 @@ static const CGFloat EmojiFontSize = 32;
|
|||
|
||||
@interface ISEmojiView()<UIScrollViewDelegate>
|
||||
|
||||
/**
|
||||
* All emoji characters
|
||||
*/
|
||||
@property (nonatomic, strong) NSArray *emojis;
|
||||
|
||||
/**
|
||||
* Emoji container used to store all the elements
|
||||
*/
|
||||
@property (nonatomic, strong) UIScrollView *scrollView;
|
||||
|
||||
/**
|
||||
* UIPageControl for next page
|
||||
*/
|
||||
@property (nonatomic, strong) UIPageControl *pageControl;
|
||||
|
||||
@end
|
||||
|
|
@ -164,6 +175,8 @@ static const CGFloat EmojiFontSize = 32;
|
|||
|
||||
/**
|
||||
* Draw the delete key
|
||||
*
|
||||
* @param rect Context Rect
|
||||
*/
|
||||
-(void)drawRect:(CGRect)rect{
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue