Skip to content

Instantly share code, notes, and snippets.

View ftp27's full-sized avatar
🛠️

Aleksei Cherepanov ftp27

🛠️
View GitHub Profile
@r3econ
r3econ / UIButton+VerticalLayout.h
Last active May 14, 2020 01:30
UIButton category for centering title label and image vertically. The text label is placed below the image.
@interface UIButton (VerticalLayout)
- (void)centerVerticallyWithPadding:(float)padding;
- (void)centerVertically;
@end
@rcomblen
rcomblen / UIButton+Block.h
Created May 30, 2012 09:54 — forked from joshdholtz/UIButton+Block.h
iOS - UIButton+Block
//
// UIButton+Block.h
// BoothTag
//
// Created by Josh Holtz on 4/22/12.
// Copyright (c) 2012 Josh Holtz. All rights reserved.
//
#define kUIButtonBlockTouchUpInside @"TouchInside"