哈哈的笑  

2016年3月14日

摘要: 1、首先在自定义的cell中,创建两个代理方法 @protocol shopCartDelegate <NSObject> -(void)shopCartDelegate:(ShopCartCell *)cell WithBtn:(UIButton *)btn; -(void)shopCartDel 阅读全文
posted @ 2016-03-14 17:41 哈哈的笑 阅读(541) 评论(0) 推荐(0) 编辑
 
摘要: 1 - (void)clearCaChe 2 { 3 NSString *cachPath = [NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES) objectAtIndex:0]; 4 NSArray *files = [[NSFileManager... 阅读全文
posted @ 2016-03-14 17:10 哈哈的笑 阅读(148) 评论(0) 推荐(0) 编辑
 
摘要: 下面截取关键代码的图片 上面这段代码是进行验证的关键代码和判断,其中包括验证成功,验证失败,和取消验证。 如果验证失败,可以弹出一个输入密码的提示框,代码如下 阅读全文
posted @ 2016-03-14 17:07 哈哈的笑 阅读(179) 评论(0) 推荐(0) 编辑