Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

Commit

Permalink
LayoutGuides are now hidden be default
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Mar 16, 2016
1 parent 5d5ca9a commit d073534
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Sources/Internal.swift
Expand Up @@ -6,6 +6,16 @@ import UIKit


class LayoutGuide: UIView {
override init(frame: CGRect) {
super.init(frame: frame)
// Make sure that layout guides don't interfere with touches
self.hidden = true
}

required init?(coder aDecoder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}

override class func layerClass() -> AnyClass {
return CATransformLayer.self
}
Expand Down

0 comments on commit d073534

Please sign in to comment.