Skip to content

Commit 7277112

Browse files
authored
Merge pull request #11 from GoodNotes/khoi/diagram
Make PathReader class and initializer public
2 parents 48b210b + 68640b4 commit 7277112

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/Parser/SVG/SVGPathReader.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ public class PathSegment {
5959
}
6060
}
6161

62-
class PathReader {
62+
public class PathReader {
6363

6464
private let input: String
6565
private var current: UnicodeScalar?
6666
private var previous: UnicodeScalar?
6767
private var iterator: String.UnicodeScalarView.Iterator
6868

69-
init(input: String) {
69+
public init(input: String) {
7070
self.input = input
7171
self.iterator = input.unicodeScalars.makeIterator()
7272
}

0 commit comments

Comments
 (0)