Skip to content
This repository was archived by the owner on Apr 16, 2022. It is now read-only.

Commit 6b3964f

Browse files
authored
Merge pull request #101 from natmark/natmark/access_control
access control
2 parents 55bd614 + 53e2339 commit 6b3964f

8 files changed

Lines changed: 15 additions & 3 deletions

File tree

ProcessingKit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "ProcessingKit"
3-
s.version = "1.1.1"
3+
s.version = "1.1.2"
44
s.summary = "Visual Designing library for iOS."
55
s.description = <<-DESC
66
ProcessingKit is a Visual Designing library for iOS.

ProcessingKit/Core/Color/Color.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ public class ColorComponents: ColorComponentsContract {
3737
public var fill: UIColor = UIColor.white
3838
public var stroke: UIColor = UIColor.clear
3939
public var strokeWeight: CGFloat = 1.0
40+
41+
public init() {}
4042
}
4143

4244
public struct ColorModel: ColorModelContract {

ProcessingKit/Core/Context/Context.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ public protocol ContextComponenetsContract {
2828
}
2929

3030
public class ContextComponents: ContextComponenetsContract {
31+
public init() {
32+
}
33+
3134
public func context() -> CGContext? {
3235
#if os(iOS)
3336
return UIGraphicsGetCurrentContext()

ProcessingKit/Core/Environment/Frame.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ public class FrameComponents: FrameComponentsContract {
3333
public var frame: CGRect = CGRect.zero
3434
public var frameRate: CGFloat = 60.0
3535
public var frameCount: UInt64 = 0
36+
37+
public init() {}
3638
}
3739

3840
public struct FrameModel: FrameModelContract {

ProcessingKit/Core/Input/Date.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ public struct DateModel: DateModelContract {
2525
self.currentDate = currentDate
2626
}
2727

28-
init() {
29-
}
28+
public init() {}
3029

3130
public func millis() -> Int {
3231
return self.getMillis()

ProcessingKit/Core/Input/Event.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ public class EventComponents: EventComponentsContract {
7575
public var mouseX: CGFloat = 0.0
7676
public var mouseY: CGFloat = 0.0
7777
#endif
78+
79+
public init() {}
7880
}
7981

8082
public struct EventModel: EventModelContract {

ProcessingKit/Core/Shape/Vertex.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ public protocol VertexModelContract {
4141
public class VertexComponents: VertexComponentsContract {
4242
public var vertexes: [CGPoint] = []
4343
public var kind: BeginShapeKind = .none
44+
45+
public init() {}
4446
}
4547

4648
public struct VertexModel: VertexModelContract {

ProcessingKit/Core/Typography/Text.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ public class TextComponents: TextComponentsContract {
3333
public var textSize: CGFloat = 20.0
3434
public var textFont: UIFont = UIFont.systemFont(ofSize: 20.0)
3535
public var textAlignX: NSTextAlignment = .left
36+
37+
public init() {}
3638
}
3739

3840
public struct TextModel: TextModelContract {

0 commit comments

Comments
 (0)