Skip to content

GQ-Terry/MWSSketchpadView

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MWSSketchpadView

封装题库类app的草稿纸功能:

  • 单指画线演算,双指上下左右拖动草稿纸;

  • 撤销/反撤销/清空功能;

  • 根据题号id缓存各个题目的草稿内容,持久化到本地;


导入项目

pod 'MWSSketchpadView'


使用

#import "MWSSketchpadView.h"

//配置横向距离,一页代表屏幕的宽度,默认3页
[MWSSketchpadView shareInstance].horizontalPage = 5;

//配置纵向距离,一页代表屏幕的高度,默认3页
[MWSSketchpadView shareInstance].verticalPage = 5;

//弹出显示
[[MWSSketchpadView shareInstance] showWithID:123];

About

题库类app的草稿纸功能

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 73.1%
  • Ruby 26.9%