自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (1)
  • 收藏
  • 关注

原创 oc-利用日历对象编写倒计时模块

NSDateComponents *comps=[[NSDateComponents alloc]init];[comps setDay:1];[comps setMonth:8];[comps setYear:2016];//创建日历对象NSCalendar *calender=[[NSCalendar alloc]initWithCalendarIdentifier:NSCalendar

2016-07-31 19:16:53 526

原创 swift-变量和常量

//变量的作用是在程序运行时临时保存一个量(数值,字符量,逻辑量) //要想使用变量必须先定义它 使用前必须赋过值 变量赋值不能超过它允许的范围 //定义变量的语法:var 变量的名字:变量类型=值 var a:Int8=12//定义一个变量a var b:Bool=ture var ch:Chatacter=”a” var chch:String=”abcgdksj” printl

2016-07-07 00:36:35 321

原创 iOS 自定义二维码条形码扫描识别

声明#import <UIKit/UIKit.h>#import <AVFoundation/AVFoundation.h>@protocol PassNumber-(void)PassNumberdata:(id)_data;@end@interface DZC_Scan_Bar : UIViewController<AVCaptureMetadataOutputObjectsDeleg

2016-05-27 12:00:43 684

原创 iOS 对afnetworking简单封装

对AFnetworking网络请求框架简单封装 声明#import <Foundation/Foundation.h>@interface DZC_Request_Mode : NSObject//检测网络状态+ (void)netWorkStatusWith:(NSString *)str success:(void(^)(long statue))statue;//JSON方式获取数据+

2016-05-27 11:58:44 1158

原创 iOS 工具类

工具类声明#import <Foundation/Foundation.h>@interface DzcDES : NSObject+ (NSString *)encryptWithText:(NSString *)sText encryptWithKey:(NSString *)key encryptWithIv:(NSString *)iv;//加密+ (NSString *)decrypt

2016-05-27 11:49:05 1026

原创 iOS UIImage类扩展(按照位置和大小截图图片中部分图片)

声明import

2016-05-27 11:43:12 785

原创 iOS 自定义照相机

声明import import import “DZC_TakePhoto.h”@interface DZC_TakePhoto ()@end@implementation DZC_TakePhoto -(instancetype)init { self=[super init]; if (self) { [self initialSession]

2016-05-27 11:38:32 425

原创 iOS AVCaptureSession实现获取摄像头图像,并识别图片中身份证号码

自定义照相机通过设备摄像头实时获取身份证图片信息,然后识别图片中身份证号码,采用ocr识别数字 声明import import import import “MBProgressHUD.h”//#import “Tesseract.h” @protocol PassImage -(void)PassImagedata:(id)_data; @end @interface DZC_Carme

2016-05-27 11:37:01 11558 2

原创 ios 对FMDB 简单封装

声明部分import “FMDB.h”@interface LVFmdbTool : NSObject// 插入模型数据 + (BOOL)insertModelWithKey:(NSString )key andValue:(NSString )value;/* 查询数据,如果 传空 默认会查询表中所有数据 / + (NSMutableDictionary )queryData:(NSStrin

2016-05-27 11:30:45 365

原创 OC 对 URL 进行 URLEncode 编码

我们在项目中是使用的 ASIHTTPRequest 组件来访问 URL 的,在使用 ASIFormDataRequest 时发出它其中有一个方法: - (NSString*)encodeURL:(NSString *)string { NSString newString = NSMakeCollectable([(NSString )CFURLCreateStringByAdding

2016-05-27 11:23:45 2297

微信小程序精选源码整理.zip

微信小程序模板,可以发布到微信小程序和QQ小程序,使用对应的开发工具即可

2020-12-26

空空如也

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

TA关注的人

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