Skip to content

Instantly share code, notes, and snippets.

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
View LayoutableButton.swift
// Created by Guillaume BITAUDEAU on 19/01/2017.
// @see :
import UIKit
class LayoutableButton: UIButton {
enum VerticalAlignment : String {
You can’t perform that action at this time.