Latest 0.0.7
Homepage https://github.com/mws100/MWSSketchpadView
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit
Authors

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

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

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

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

导入项目

pod 'MWSSketchpadView'


使用

#import "MWSSketchpadView.h"

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

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

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

Latest podspec

{
    "name": "MWSSketchpadView",
    "version": "0.0.7",
    "summary": "u5c01u88c5u9898u5e93u7c7bappu7684u8349u7a3fu7eb8u529fu80fd",
    "description": "sketchpadView.",
    "homepage": "https://github.com/mws100/MWSSketchpadView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "u9a6cu6587u5e05": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/mws100/MWSSketchpadView.git",
        "tag": "0.0.7"
    },
    "requires_arc": true,
    "source_files": "MWSSketchpadView/*.{h,m}",
    "resources": [
        "MWSSketchpadView/MWSSketchpadView.bundle",
        "MWSSketchpadView/MWSSketchpadView.xib"
    ],
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This