Skip to content
项目

关于

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

设计与媒体

这些数字如何统计

可以做什么

  • Editable Stamp tool
  • Draw on Camera / Gallery image
  • Multiple colors can be set
  • Multiple width can be set

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
Sketch Logo

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

Freehand Drawing Shape Tools Stamp Tool

:memo: Features

  • Pen tool
  • Eraser tool
  • Stamp tool
  • Editable Stamp tool
  • Fill
  • Undo / Redo
  • Draw on Camera / Gallery image
  • Multiple colors can be set
  • Multiple width can be set
  • Multiple alpha can be set
  • Multiple tools (Line, Arrow, Rectangle, Ellipse, Star)
  • 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.

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.

探索相关项目

加载中…