Skip to content

Instantly share code, notes, and snippets.

Laeyoung Chang Laeyoung

Block or report user

Report or block Laeyoung

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Laeyoung / uitextfieldwithpadding
Last active Jul 20, 2018 — forked from lawreyios/uitextfieldwithpadding
Add padding to UITextField - Swift 3.0
View uitextfieldwithpadding
class CustomSearchTextField: UITextField {
required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
override func textRect(forBounds bounds: CGRect) -> CGRect {
return UIEdgeInsetsInsetRect(bounds, UIEdgeInsetsMake(0, 15, 0, 15))
override func editingRect(forBounds bounds: CGRect) -> CGRect {
Laeyoung / alleys
Last active Jan 5, 2016
Alleys Player Sample URL
View alleys
You can’t perform that action at this time.