Skip to content

Instantly share code, notes, and snippets.

@IlijaMihajlovic
Created September 13, 2022 12:01
Show Gist options
  • Save IlijaMihajlovic/1ab3ee79226e42e3511eb41790ac3c79 to your computer and use it in GitHub Desktop.
Save IlijaMihajlovic/1ab3ee79226e42e3511eb41790ac3c79 to your computer and use it in GitHub Desktop.
// MARK: - Properties
lazy var buttonTapped: UIButton = {
let button = UIButton(type: .system)
button.setImage(UIImage(named: "more")?.withRenderingMode(.alwaysTemplate), for: .normal)
button.frame = CGRect(x: 0, y: 0, width: 45, height: 45)
button.addTarget(self, action: #selector(handleButtonTapped), for: .touchUpInside)
return button
}()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment