Skip to content

Instantly share code, notes, and snippets.

@cipherCOM
cipherCOM / Localizable.m
Created Aug 13, 2020 — forked from storoj/Localizable.m
Make UIKit localizable via Localizable.strings
View Localizable.m
#import <objc/runtime.h>
/**
To localize `UIBarButtonSystemItemDone` use "Done" key in your localizable.strings:
"Done" = "Localized_Done";
*/
__attribute__((constructor))
static void Hack_NSBundle_localizedString () {
@cipherCOM
cipherCOM / MultiDirectionAdjudicatingScrollView.swift
Created Jul 17, 2017 — forked from andymatuschak/MultiDirectionAdjudicatingScrollView.swift
Source for the Khan Academy app's unusual scrolling interactions
View MultiDirectionAdjudicatingScrollView.swift
//
// MultiDirectionAdjudicatingScrollView.swift
// Khan Academy
//
// Created by Andy Matuschak on 12/16/14.
// Copyright (c) 2014 Khan Academy. All rights reserved.
//
import UIKit
import UIKit.UIGestureRecognizerSubclass