Skip to content

Instantly share code, notes, and snippets.

Yusef Maali yusefmaali

Block or report user

Report or block yusefmaali

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
@yusefmaali
yusefmaali / LayoutableButton.swift
Created Apr 30, 2017 — forked from gbitaudeau/LayoutableButton.swift
I created a UIButton subclass whose purpose is to be able to choose where the button's image is layout, either vertically or horizontally. See http://stackoverflow.com/a/41744464/1661338
View LayoutableButton.swift
// Created by Guillaume BITAUDEAU on 19/01/2017.
// @see : http://stackoverflow.com/a/41744464/1661338
import UIKit
@IBDesignable
class LayoutableButton: UIButton {
enum VerticalAlignment : String {
You can’t perform that action at this time.