UI控件
zhz459880251
这个作者很懒,什么都没留下…
展开
-
UITextView的Placeholder占位文字
自己写的一个小demo#import "ZHZTextView.h"#define kMargin 7 #define kFontSize 17@interface ZHZTextView ()<UITextViewDelegate>@property (nonatomic, strong)UILabel *placeholderLabel;@end@implementation ZHZTextVi原创 2015-12-14 21:53:39 · 300 阅读 · 0 评论 -
简单的自定义AlertView
UIAlertView 在iOS9.0正式被废弃了, 而UIAlertController只有在iOS8.0才能支持, 做项目时不想就这样简单的一个提示还老是再对系统做判断, 所以就自己仿造UIAlertView自定义了一个ZHZAlertView类 并使用block来进行回调先看效果 接口部分 typedef void(^ConfirmBlock)(); typedef void(^Cance原创 2015-12-27 20:56:35 · 512 阅读 · 0 评论