Latest 1.0
License MIT
Platforms ios 10.0

This is free and drawing iOS UIView component that can be used fot free hand drawing. This gives you feature like different pencil sizes and colors on same drawing pad. This give a feature like Undo, clear and capture drawing as Image.

Drawing features



CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate MBDrawingView into your Xcode project using CocoaPods, specify it in your Podfile:

target '<Your Target Name>' do
    pod 'MBDrawingView'

How to Use

It is simple and easy to use, just add UIView on xib and assign MBDrawingView class in XIB and you are DONE.

Basic Features

let drawingView = MBDrawingView()

// Set pencil size
drawingView.pencilSize = 4.0

// Set color
drawingView.pencilColor =

// Check view has drawing or not
if drawingView.hasDrawing { }

// Capture drawing as image
let image =  drawingView.capture()

// Undo the last drawing sequence

// Clear Drawing



Latest podspec

    "name": "MBDrawingView",
    "version": "1.0",
    "summary": "Free hand drawing iOS UIView with multilsize and mutlicolor drawing and convert tit to image.",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "Swifty-iOS": "[email protected]"
    "platforms": {
        "ios": "10.0"
    "source": {
        "git": "",
        "tag": "1.0"
    "source_files": "Source/*.swift",
    "swift_version": "5.0"

Pin It on Pinterest

Share This