This repository was archived by the owner on Apr 16, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Pod ::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.
Original file line number Diff line number Diff 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
4244public struct ColorModel : ColorModelContract {
Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ public protocol ContextComponenetsContract {
2828}
2929
3030public class ContextComponents : ContextComponenetsContract {
31+ public init ( ) {
32+ }
33+
3134 public func context( ) -> CGContext ? {
3235 #if os(iOS)
3336 return UIGraphicsGetCurrentContext ( )
Original file line number Diff line number Diff 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
3840public struct FrameModel : FrameModelContract {
Original file line number Diff line number Diff 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 ( )
Original file line number Diff line number Diff 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
8082public struct EventModel : EventModelContract {
Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ public protocol VertexModelContract {
4141public class VertexComponents : VertexComponentsContract {
4242 public var vertexes : [ CGPoint ] = [ ]
4343 public var kind : BeginShapeKind = . none
44+
45+ public init ( ) { }
4446}
4547
4648public struct VertexModel : VertexModelContract {
Original file line number Diff line number Diff 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
3840public struct TextModel : TextModelContract {
You can’t perform that action at this time.
0 commit comments