Skip to content

Instantly share code, notes, and snippets.

View Megatron1000's full-sized avatar

Mark Bridges Megatron1000

View GitHub Profile
@Megatron1000
Megatron1000 / KeyboardLayoutGuide.swift
Last active August 20, 2020 14:45 — forked from myell0w/KeyboardLayoutGuide.swift
A UILayoutGuide that follows the Keyboard on iOS
import Foundation
import UIKit
/// Used to create a layout guide that pins to the top of the keyboard
final class KeyboardLayoutGuide {
private let notificationCenter: NotificationCenter
private let bottomConstraint: NSLayoutConstraint
@Megatron1000
Megatron1000 / 0_reuse_code.js
Created October 15, 2013 08:13
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console