Skip to content

Instantly share code, notes, and snippets.

Rich Ellis richellis

  • Portland, Oregon, USA
Block or report user

Report or block richellis

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
View ExpandedHitButton.swift
/// Expands the touch target of the button to be at least as large as the minimum iOS guidelines.
class ExpandedHitButton: UIButton {
let minimumHitSize: CGSize
/// Creates an instance of `ExpandedHitButton`.
/// - Parameters:
/// - minimumHitSize: Size of the minimum hit rectangle, centered at the bounds midpoint. Default is 44x44
/// points (iOS Guidelines).
init(minimumHitSize: CGSize = CGSize(width: 44, height: 44)) {
richellis /
Last active Jul 18, 2019 — forked from steverichey/
Create iOS application icons from one PDF file. Requires ImageMagick.
# Iconizer shell script by Steve Richey (
# Modified by Rich Ellis ( based on contributions on Github from crishoj, giria
# This is a simple tool to generate all necessary app icon sizes and the JSON file for an *EXISTING* Xcode project from one file.
# To use: specify the path to your vector graphic (PDF format) and the path to your Xcode folder containing Images.xcassets
# Example: sh MyVectorGraphic.pdf MyXcodeProject
You can’t perform that action at this time.