Skip to content

Commit

Permalink
fixing compilation error that was caused due to the fact that swift i…
Browse files Browse the repository at this point in the history
…nitializer return an optional value
  • Loading branch information
monishsyed committed Mar 17, 2015
1 parent 05a3912 commit 8cc532f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class AnimatingCycloidView: NSView {
prepareView()
}

required init(coder: NSCoder) {
required init?(coder: NSCoder) {
cycloid = Cycloid(radius: 10, numberOfRotations: 10)
super.init(coder: coder)
}
Expand Down

0 comments on commit 8cc532f

Please sign in to comment.