Skip to content

Instantly share code, notes, and snippets.

View valvoline's full-sized avatar

Costantino Pistagna valvoline

View GitHub Profile
//
// UIButtonClosureAdditions.swift
// pickerTest
//
// Created by valvoline on 27/10/15.
// Copyright © 2015 ISALabs. All rights reserved.
//
import UIKit
import ObjectiveC
@valvoline
valvoline / gist:88d4b1b2489854856ba9
Created October 9, 2015 08:57
Simple UIApplication Debugger for handleNonLaunchSpecificActions related bug
//
// UIApplication+Debug.m
//
// Created by valvoline on 09/10/15.
// Copyright © 2015 ISALabs. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIApplication (Debug)
@valvoline
valvoline / UIAlertController+Utilities.h
Created January 20, 2015 08:52
Simple category that wraps around the UIAlertController annoying stuff
//
// UIAlertController+Utilities.h
//
// Created by valvoline on 18/12/14.
// Copyright (c) 2014 sofapps. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIAlertController (Utilities)
@valvoline
valvoline / Springboard.h
Created January 17, 2015 17:58
Sticky Headers for UICollectionView using UICollectionViewFlowLayout that acts like Photo.app collection, taking care of edgeInsets
//
// SpringboardLayout.h
//
// Created by valv0 on 11/10/14.
// Copyright (c) 2014 sofapps. All rights reserved.
//
#import <UIKit/UIKit.h>