Skip to content

Commit

Permalink
adds a bare bones init to initWithCoder
Browse files Browse the repository at this point in the history
so it can be used in NIB files
  • Loading branch information
Paul Jones committed Sep 23, 2015
1 parent aaef1db commit 1a8da55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TZStackView/TZStackView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ public class TZStackView: UIView {
}

required public init(coder aDecoder: NSCoder) {
fatalError("init(coder:) has not been implemented")
super.init(frame: CGRectZero)
}

private func addSpacerView() -> TZSpacerView {
Expand Down

0 comments on commit 1a8da55

Please sign in to comment.