January 6, 2013
I recently saw a post on Twitter from @chpwn that described the alogorithm that Apple uses for its “rubber band” or “bungee” scrolling.
b = (1.0 – (1.0 / ((x * c / d) + 1.0))) * d
// | |
// UIView+RSKeyboardLayoutGuide.swift | |
// RSTouchUIKit | |
// | |
// Created by Daniel Jalkut on 12/23/18. | |
// | |
import UIKit | |
// Extends UIView to expose a keyboardLayoutGuide property that can be used to tie a view controller's content |
TAGS="TODO:|FIXME:|\/\/TODO" | |
find "${SRCROOT}" \( -name "*.h" -or -name "*.m" -or -name "*.swift" \) -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($TAGS).*\$" | perl -p -e "s/($TAGS)/ warning: \$1/" |
// | |
// AppDelegate.m | |
// NanoCompanion | |
// | |
// Created by Steven Troughton-Smith on 13/01/2015. | |
// Copyright (c) 2015 High Caffeine Content. All rights reserved. | |
// | |
#import "AppDelegate.h" |
/** | |
Provides the ability to verify key paths at compile time. | |
If "keyPath" does not exist, a compile-time error will be generated. | |
Example: | |
// Verifies "isFinished" exists on "operation". | |
NSString *key = SQKeyPath(operation, isFinished); | |
// Verifies "isFinished" exists on self. |
mr Marathi | |
bs Bosnian | |
ee_TG Ewe (Togo) | |
ms Malay | |
kam_KE Kamba (Kenya) | |
mt Maltese | |
ha Hausa | |
es_HN Spanish (Honduras) | |
ml_IN Malayalam (India) | |
ro_MD Romanian (Moldova) |