Skip to content

Commit fb638a9

Browse files
Merge pull request #50 from Asana/release-0.11
2 parents 3edd3cd + 0cea5fb commit fb638a9

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

Drawsana/Data model/DrawingOperationStack.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public class DrawingOperationStack {
5757
delegate?.drawingOperationStackDidRedo(self, operation: operation)
5858
}
5959

60-
/// Clear the redo Stack
60+
/// Clear the redo stack
6161
@objc public func clearRedoStack() {
6262
redoStack = []
6363
}

Drawsana/DrawsanaView.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import UIKit
1010

11-
public let DRAWSANA_VERSION = "0.10.0"
11+
public let DRAWSANA_VERSION = "0.11.0"
1212

1313
/// Set yourself as the `DrawsanaView`'s delegate to be notified when the active
1414
/// tool changes.

Readme.md

+16-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Drawsana 0.10.0
1+
# Drawsana 0.11.0
22

33
Drawsana is a generalized framework for making freehand drawing views on iOS. You can
44
let users scribble over images, add shapes and text, and even make your own tools.
@@ -32,7 +32,7 @@ Add `Asana/Drawsana` to your Cartfile and update your project like you would for
3232
Carthage framework, or clone the source code and add the project to your workspace.
3333

3434
```
35-
github "Asana/Drawsana" == 0.10.0
35+
github "Asana/Drawsana" == 0.11.0
3636
```
3737

3838
## Usage
@@ -95,6 +95,20 @@ open https://asana.github.io/Drawsana
9595

9696
## Changelog
9797

98+
### 0.11.0
99+
100+
* `DrawingOperationStack.clearRedoStack()` clears all redo operations from the
101+
redo stack.
102+
* `DrawingToolForShapeWithThreePoints` and
103+
`DrawingToolForShapeWithTwoPoints` are declared `open` instead of `public` so
104+
they can be subclassed.
105+
* `PenShape` now works with the selection tool.
106+
* `DrawsanaView.selectionIndicatorAnchorPointOffset` allows Drawsana to
107+
keep working when you change the anchorPoint.
108+
* `Shape.id` is now settable.
109+
* Fix bug that prevented character input of some languages, including Chinese.
110+
* Fix bugs in gesture recognizer.
111+
98112
### 0.10.0
99113
* Convert to Swift 5
100114
* Fix `NgonShape` and `TextShape` serialization bugs. Old data can't be fixed, but

0 commit comments

Comments
 (0)