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

浙公网安备 33010602011771号