Skip to content

Instantly share code, notes, and snippets.

@rajuashok
Last active January 17, 2020 02:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rajuashok/cf5d0a30c81053b3688c3ab8873a7b39 to your computer and use it in GitHub Desktop.
Save rajuashok/cf5d0a30c81053b3688c3ab8873a7b39 to your computer and use it in GitHub Desktop.
Product specific extension of RadioButton
import UIKit
class DefaultRadioButton: RadioButton {
override init(frame: CGRect) {
super.init(frame: frame)
checkedView = UIImageView.radioOn()
uncheckedView = UIImageView.radioOff()
}
required init?(coder: 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