Skip to content

Instantly share code, notes, and snippets.

Avatar
🛠️

Aleksei Cherepanov ftp27

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