09 2019 档案

摘要:// // PicturesTableViewCell.m // WaterProofer // // Created by admin on 2019/9/21. // Copyright © 2019 WaterProofer. All rights reserved. // #import " 阅读全文
posted @ 2019-09-27 18:10 🍂浪迹天涯🍂 阅读(388) 评论(0) 推荐(0)
摘要:UITextField *tf = [[UITextField alloc] initWithFrame:CGRectMake(20, 60, 280, 70)]; //文本输入框,一般用作用户输入账号,密码,个人信息等 //添加输入成的事件监听 [tf addTarget:self action: 阅读全文
posted @ 2019-09-26 12:15 🍂浪迹天涯🍂 阅读(240) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2019-09-26 10:28 🍂浪迹天涯🍂 阅读(1) 评论(0) 推荐(0)
摘要:#import <UIKit/UIKit.h> @interface UIButton (CountDown) + (void)startRunSecond:(UIButton *)btn stringFormat:(NSString *)str finishBlock:(dispatch_bloc 阅读全文
posted @ 2019-09-25 21:16 &#127810;浪迹天涯&#127810; 阅读(186) 评论(0) 推荐(0)
摘要://设置视图位置和大小 UIView *myView = [[UIView alloc] initWithFrame:CGRectMake(15, 300, self.view.bounds.size.width-30, 46)]; //设置背景颜色 myView.backgroundColor = 阅读全文
posted @ 2019-09-24 08:55 &#127810;浪迹天涯&#127810; 阅读(168) 评论(0) 推荐(0)
摘要:UIImageView* baseView = [[UIImageView alloc] init]; baseView.backgroundColor = [UIColor whiteColor]; //设置卡片阴影 baseView.layer.shadowColor = RGBACOLOR(4 阅读全文
posted @ 2019-09-23 10:29 &#127810;浪迹天涯&#127810; 阅读(416) 评论(0) 推荐(0)
摘要:typedef NS_ENUM(NSInteger, GradientDirection) { GradientDirectionTopToBottom = 0, // 从上往下 渐变 GradientDirectionLeftToRight, // 从左往右 GradientDirectionBottomToTop, // 从下往上 GradientDirectionRightToLeft // 阅读全文
posted @ 2019-09-23 10:17 &#127810;浪迹天涯&#127810; 阅读(269) 评论(0) 推荐(0)
摘要:// // WMZCodeView.h // WMZCode // // Created by wmz on 2018/12/14. // Copyright © 2018年 wmz. All rights reserved. // #import <UIKit/UIKit.h> /* * Code 阅读全文
posted @ 2019-09-20 10:16 &#127810;浪迹天涯&#127810; 阅读(375) 评论(0) 推荐(0)
摘要:// // ZKImageSelectView.h // ZKImageSelectAndBrowse // // Created by HELLO WORLD on 2019/9/18. // Copyright © 2019年 WaterProofer. All rights reserved. 阅读全文
posted @ 2019-09-18 20:19 &#127810;浪迹天涯&#127810; 阅读(239) 评论(0) 推荐(0)
摘要:// // ZKPlaceholderTextView.h // WaterProofer // // Created by HELLO WORLD on 2019/9/18. // Copyright © 2019年 WaterProofer. All rights reserved. // #i 阅读全文
posted @ 2019-09-18 18:15 &#127810;浪迹天涯&#127810; 阅读(192) 评论(0) 推荐(0)
摘要:#import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface AddSuccessView : UIView @property (weak, nonatomic) IBOutlet UIImageView *centerView; @prop 阅读全文
posted @ 2019-09-18 01:04 &#127810;浪迹天涯&#127810; 阅读(198) 评论(0) 推荐(0)
摘要:// // ZKButton.h // WaterProofer // // Created by HELLO WORLD on 2019/9/15. // Copyright © 2019年 WaterProofer. All rights reserved. // #import <UIKit/ 阅读全文
posted @ 2019-09-16 07:43 &#127810;浪迹天涯&#127810; 阅读(170) 评论(0) 推荐(0)
摘要://十六进制转rgb #define ColorWithHexString(hexString) [UIColor colorWithHexString:hexString] // 获取RGB颜色 #define RGBA(r,g,b,a) [UIColor colorWithRed:r/255.0 阅读全文
posted @ 2019-09-15 10:25 &#127810;浪迹天涯&#127810; 阅读(235) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-09-12 22:20 &#127810;浪迹天涯&#127810; 阅读(484) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2019-09-12 00:02 &#127810;浪迹天涯&#127810; 阅读(3) 评论(0) 推荐(0)
摘要:// // UIView+FindChildView.h // XibDemo // // Created by HELLO WORLD on 2019/9/11. // Copyright © 2019年 WaterProofer. All rights reserved. // #import 阅读全文
posted @ 2019-09-11 23:50 &#127810;浪迹天涯&#127810; 阅读(235) 评论(0) 推荐(0)
摘要:#pragma - mark - 切换window RootViewController - (IBAction)loginBtn:(UIButton *)sender { AppDelegate* aud = (AppDelegate*)[UIApplication sharedApplicati 阅读全文
posted @ 2019-09-11 23:50 &#127810;浪迹天涯&#127810; 阅读(110) 评论(0) 推荐(0)
摘要:#define Spacing 10 //间隔距离 #define Btn_NUMs 3//每列个数 #define Btn_HEIGHT TRUEW(30) #define Btn_WIDTH ((SCREEN_WIDTH-(Btn_NUMs+1)*Spacing)/Btn_NUMs) [btn 阅读全文
posted @ 2019-09-11 16:23 &#127810;浪迹天涯&#127810; 阅读(170) 评论(0) 推荐(0)
摘要:$ git initInitialized empty Git repository in /Users/tianqixin/www/runoob/.git/ 现在你可以看到在你的项目中生成了 .git 这个子目录,这就是你的 Git 仓库了,所有有关你的此项目的快照数据都存放在这里。 .git 默 阅读全文
posted @ 2019-09-09 22:59 &#127810;浪迹天涯&#127810; 阅读(177) 评论(0) 推荐(0)
摘要://md5加密方式一 +(NSString*)md5Str:(NSString *)str { const char* myPasswordd = str.UTF8String; unsigned char md5c[16]; CC_MD5(myPasswordd, (CC_LONG)strlen( 阅读全文
posted @ 2019-09-09 09:29 &#127810;浪迹天涯&#127810; 阅读(219) 评论(0) 推荐(0)
摘要:// // ZKFieldWithTitle.h // WaterProofer // // Created by ios on 2019/9/8. // Copyright © 2019年 WaterProofer. All rights reserved. // #import <UIKit/U 阅读全文
posted @ 2019-09-08 12:47 &#127810;浪迹天涯&#127810; 阅读(127) 评论(0) 推荐(0)
摘要:// // ZKAddressPickView.h // GoodsManager // // Created by HELLO WORLD on 2019/9/8. // Copyright © 2019年 HELLO WORLD. All rights reserved. // #import 阅读全文
posted @ 2019-09-08 12:17 &#127810;浪迹天涯&#127810; 阅读(121) 评论(0) 推荐(0)
摘要:// 防止多次调用 #define kPreventRepeatClickTime(_seconds_) \ static BOOL shouldPrevent; \ if (shouldPrevent) return; \ shouldPrevent = YES; \ dispatch_after 阅读全文
posted @ 2019-09-07 18:52 &#127810;浪迹天涯&#127810; 阅读(312) 评论(0) 推荐(0)
摘要:#import "UIButton+touch.h" #import<objc/runtime.h> @interface UIButton() /**bool 类型 设置是否执行点UI方法*/ @property (nonatomic, assign) BOOL isIgnoreEvent; @e 阅读全文
posted @ 2019-09-07 18:46 &#127810;浪迹天涯&#127810; 阅读(275) 评论(0) 推荐(0)
摘要:#define BUTTON_SPACING 10 //按钮间距 #define BORDER_SPACING 10 //边框间距 #define BUTTON_NUMS 3 //每行按钮个数 -(void)setButtonArray:(NSArray *)buttonArray{ _button 阅读全文
posted @ 2019-09-06 12:54 &#127810;浪迹天涯&#127810; 阅读(290) 评论(0) 推荐(0)