自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(18)
  • 收藏
  • 关注

转载 更换头像 相机/相册

//// PicturesTableViewCell.m// WaterProofer//// Created by admin on 2019/9/21.// Copyright © 2019 WaterProofer. All rights reserved.//#import "PicturesTableViewCell.h"@i...

2019-09-27 18:10:00 197

转载 UI

UITextField *tf = [[UITextField alloc] initWithFrame:CGRectMake(20, 60, 280, 70)]; //文本输入框,一般用作用户输入账号,密码,个人信息等 //添加输入成的事件监听[tf addTarget:self action:@selector(valueDidChange:) fo...

2019-09-26 12:15:00 144

转载 验证码倒计时按钮

#import <UIKit/UIKit.h>@interface UIButton (CountDown)+ (void)startRunSecond:(UIButton *)btn stringFormat:(NSString *)str finishBlock:(dispatch_block_t)finish;+ (void)startRun...

2019-09-25 21:16:00 120

转载 绘制特殊图形

//设置视图位置和大小 UIView *myView = [[UIView alloc] initWithFrame:CGRectMake(15, 300, self.view.bounds.size.width-30, 46)]; //设置背景颜色 myView.backgroundColor = [UIColor blackColor]; ...

2019-09-24 08:55:00 100

转载 layer 边框阴影

UIImageView* baseView = [[UIImageView alloc] init]; baseView.backgroundColor = [UIColor whiteColor]; //设置卡片阴影 baseView.layer.shadowColor = RGBACOLOR(42, 47, 59, 0.3).CG...

2019-09-23 10:29:00 812

转载 渐变颜色

typedef NS_ENUM(NSInteger, GradientDirection) { GradientDirectionTopToBottom = 0, // 从上往下 渐变 GradientDirectionLeftToRight, // 从左往右 GradientDirectionBottomToTop, //...

2019-09-23 10:17:00 108

转载 拼图验证

//// WMZCodeView.h// WMZCode//// Created by wmz on 2018/12/14.// Copyright © 2018年 wmz. All rights reserved.//#import <UIKit/UIKit.h>/* * CodeType type */t...

2019-09-20 10:16:00 578

转载 ZKImageSelectView

//// ZKImageSelectView.h// ZKImageSelectAndBrowse//// Created by HELLO WORLD on 2019/9/18.// Copyright © 2019年 WaterProofer. All rights reserved.//#import <UIKit/UIKit....

2019-09-18 20:19:00 169

转载 ZKPlaceholderTextView

//// ZKPlaceholderTextView.h// WaterProofer//// Created by HELLO WORLD on 2019/9/18.// Copyright © 2019年 WaterProofer. All rights reserved.//#import <UIKit/UIKit.h>...

2019-09-18 18:15:00 100

转载 KeyWindow提示View

#import <UIKit/UIKit.h>NS_ASSUME_NONNULL_BEGIN@interface AddSuccessView : UIView@property (weak, nonatomic) IBOutlet UIImageView *centerView;@property (weak, nonatomic) IBOu...

2019-09-18 01:04:00 124

转载 ZKButton

//// ZKButton.h// WaterProofer//// Created by HELLO WORLD on 2019/9/15.// Copyright © 2019年 WaterProofer. All rights reserved.//#import <UIKit/UIKit.h>typedef NS_E...

2019-09-16 07:43:00 129

转载 ios常用宏定义

//十六进制转rgb#define ColorWithHexString(hexString) [UIColor colorWithHexString:hexString]// 获取RGB颜色#define RGBA(r,g,b,a) [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a...

2019-09-15 10:25:00 196

转载 Xcode直接安装ipa

转载于:https://www.cnblogs.com/kingstudy/p/11515421.html

2019-09-12 22:20:00 148

转载 UISearchBar + Controller

//// UIView+FindChildView.h// XibDemo//// Created by HELLO WORLD on 2019/9/11.// Copyright © 2019年 WaterProofer. All rights reserved.//#import <UIKit/UIKit.h>NS_...

2019-09-11 23:50:00 84

转载 专场动画

#pragma - mark - 切换window RootViewController- (IBAction)loginBtn:(UIButton *)sender { AppDelegate* aud = (AppDelegate*)[UIApplication sharedApplication].delegate; TJTabbarCo...

2019-09-11 23:50:00 96

转载 IOS UI

#define Spacing 10 //间隔距离#define Btn_NUMs 3//每列个数#define Btn_HEIGHT TRUEW(30)#define Btn_WIDTH ((SCREEN_WIDTH-(Btn_NUMs+1)*Spacing)/Btn_NUMs) [btn mas_makeConstraints:^(MASConstra...

2019-09-11 16:23:00 100

转载 Git

Git 工作区、暂存区和版本库基本概念工作区:就是你在电脑里能看到的目录。暂存区:英文叫stage, 或index。一般存放在 ".git目录下" 下的index文件(.git/index)中,所以我们把暂存区有时也叫作索引(index)。版本库:工作区有一个隐藏目录.git,这个不算工作区,而是Git的版本库。Git 工作区、暂存区和版本库g...

2019-09-09 22:59:00 95

转载 iOS GlobalTool

//md5加密方式一+(NSString*)md5Str:(NSString *)str{ const char* myPasswordd = str.UTF8String; unsigned char md5c[16]; CC_MD5(myPasswordd, (CC_LONG)strlen(myPasswordd), md5c); ...

2019-09-09 09:29:00 100

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除