Skip to content

Instantly share code, notes, and snippets.

macneko-ayu / private.xml
Created May 22, 2018 — forked from kickbase/private.xml
Karabiner private.xml for Emacs, Vim, VSCode, Unity, Houdini.
View private.xml
<?xml version="1.0"?>
View UINavigationBar+Height.swift
import Foundation
private var AssociatedObjectHandle: UInt8 = 0
extension UINavigationBar {
var height: CGFloat {
get {
if let h = objc_getAssociatedObject(self, &AssociatedObjectHandle) as? CGFloat {