SkillAgentSearch skills...

Sketch

Sketch have a lot of basic functions to develop a drawing app for iPhone. Anyone can easily create drawing iOS Application.

Install / Use

/learn @daihase/Sketch
About this skill

Quality Score

0/100

Category

Design

Supported Platforms

Universal

README

<div style="text-align: center; width: 100%"> <img src="Documents/Sketch.png" width: 100% height: 100% alt="Sketch Logo"> </div>

platforms License Language: Swift 5.0 Swift Package Manager CocoaPods Carthage Compatible

Sketch has basic functions for drawing from the beginning. Anyone can easily create drawing iOS Applications.

※ Below is the image of app actually made using Sketch.

Sketch_animation1 Sketch_animation2 Sketch_animation3

<table> <tr> <th>Freehand Drawing</th> <th>Shape Tools</th> <th>Stamp Tool</th> </tr> <tr> <td align="center"> <img src="https://github.com/user-attachments/assets/8aeda8e9-97e0-413d-9203-75efdce3582a" width="95%" /> </td> <td align="center"> <img src="https://github.com/user-attachments/assets/1ff55a72-97ee-433c-aa28-4fdb49e873bc" width="95%" /> </td> <td align="center"> <img src="https://github.com/user-attachments/assets/a4f0825b-62a9-496b-bb1e-2ebe102558fc" width="95%" /> </td> </tr> </table>

:memo: Features

  • [x] Pen tool
  • [x] Eraser tool
  • [x] Stamp tool
  • [x] Editable Stamp tool
  • [x] Fill
  • [x] Undo / Redo
  • [x] Draw on Camera / Gallery image
  • [x] Multiple colors can be set
  • [x] Multiple width can be set
  • [x] Multiple alpha can be set
  • [x] Multiple tools (Line, Arrow, Rectangle, Ellipse, Star)
  • [x] Multiple Pen Filters (Neon, Blur)

:pencil2: Requirements

  • iOS 13.0+
  • Xcode 11.0+
  • Swift 5.0+

:pencil2: Installation

Using Swift Package Manager (Recommended)

In Xcode, go to File → Add Package Dependencies... and enter the repository URL:

https://github.com/daihase/Sketch.git

Or add it to your Package.swift:

dependencies: [
    .package(url: "https://github.com/daihase/Sketch.git", from: "4.0.0")
]

Using CocoaPods

Add the following line to your Podfile:

pod 'Sketch'

Then run:

$ pod install

Using Carthage

Add this to Cartfile:

github "daihase/Sketch"

Then run:

$ carthage update

Finally, add the framework:

:pencil2: How to use

Using IB/Storyboards:

Only 3 steps needed to use SketchView

1. Set UIView on Storyboard.

2. Open Inspector and enter SketchView in the Class field of Custom Class.

3. Then just connect SketchView to UIViewController as usual.

<img src="Documents/Storyboard.png" width="797" height="522" alt="Sketch Logo">

Using code:

1. Import Sketch in proper place.

import Sketch

2. Create SketchView, and addSubview to the view you want to set.

let sketchView = SketchView(frame:
    CGRect(x: 0,
           y: 0,
           width: UIScreen.main.bounds.width,
           height: UIScreen.main.bounds.height
    )
)

self.view.addSubview(sketchView)

:ok_hand: Most of the functions are implemented in the Example Application. Please see that for details.

:pencil2: Privacy

Sketch does not collect any data. A privacy manifest file is provided.

:pencil2: License

I am using Example Application icon from Freepik. :point_right: Designed by Freepik and distributed by Flaticon

Sketch is available under the MIT license. See the LICENSE file for more info.

Related Skills

View on GitHub
GitHub Stars347
CategoryDesign
Updated12d ago
Forks63

Languages

Swift

Security Score

100/100

Audited on Mar 12, 2026

No findings