CommentTextField 0.0.1

CommentTextField 0.0.1

测试已测试
Lang语言 Obj-CObjective C
许可证 MIT
发布最新发布2015年5月

yuyedaidao维护。



  • 作者:
  • yuyedaidao

CommentTextFieldDemo

废话少说,先上图

实例图

上代码

[CommentTextField showWithComplelateBlcok:^(CommentTextField *view) {
  NSLog(@"str = %@",view.textField.text);
}];

[CommentTextField showWithUsername:@"小明" complelateBlcok:^(CommentTextField *view) {
  NSLog(@"str = %@",view.textField.text);
}];

[CommentTextField showWithScrollResign:NO alloweMoveInView:tableView flagView:clicedView complelateBlcok:^(CommentTextField      *view) {

}];

要在UIScrollView上滑动时隐藏控件,需要在UIScrollView的willDrag代理方法中调用CommentTextField的hide方法