Created
August 2, 2015 18:12
-
-
Save ilteris/ed94173202a9a7c31c67 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TermView: UIControl { | |
var item: Term | |
convenience init(item: Term) { | |
self.init(frame:CGRectZero, item: item) | |
} | |
init(frame: CGRect, item: Term) { | |
self.item = item | |
super.init(frame: frame) | |
setupView() | |
} | |
required init?(coder aDecoder: NSCoder) { | |
fatalError("init(coder:) has not been implemented") | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment