I hereby claim:
- I am parrots on github.
- I am parrots (https://keybase.io/parrots) on keybase.
- I have a public key whose fingerprint is 43FD FA59 6C6F 3419 9FC5 4702 9D99 E4DB 59AD B11F
To claim this, I am signing this object:
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
#echo "Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs)" | |
#defaults write NSGlobalDomain AppleKeyboardUIMode -int 3 |
@import UIKit; | |
IB_DESIGNABLE @interface CBCImageView : UIImageView | |
@end | |
@implementation CBCImageView | |
- (void)awakeFromNib | |
{ |
git=`sh /etc/profile; which git` | |
branch_name=`$git symbolic-ref HEAD | sed -e 's,.*/\\(.*\\),\\1,'` | |
git_count=`$git rev-list $branch_name |wc -l | sed 's/^ *//;s/ *$//'` | |
simple_branch_name=`$git rev-parse --abbrev-ref HEAD` | |
build_number="$git_count" | |
if [ $CONFIGURATION != "Release" ]; then | |
build_number+="-$simple_branch_name" | |
fi |
@import WatchKit; | |
@interface CachingInterfaceController : WKInterfaceController | |
- (void)updateLabel:(WKInterfaceLabel *)label withString:(NSString *)string; | |
- (void)updateLabel:(WKInterfaceLabel *)label asHidden:(BOOL)hidden; | |
- (void)updateImage:(WKInterfaceImage *)image withImageNamed:(NSString *)imageName; | |
- (void)updateImage:(WKInterfaceImage *)image withBaseNameForAnimation:(NSString *)baseName withRange:(NSRange)range duration:(NSTimeInterval)duration repeatCount:(NSInteger)repeatCount; | |
- (NSString *)currentImageNameForImage:(WKInterfaceImage *)image; |
I hereby claim:
To claim this, I am signing this object:
// | |
// AsyncOperation.swift | |
// Slopes | |
// | |
import Foundation | |
class AsyncOperation: Operation { | |
private let stateLock = NSLock() | |
private var observers: [NSKeyValueObservation] = [NSKeyValueObservation]() |
// | |
// ModernSegmentedControl.swift | |
// | |
// | |
// Created by Curtis Herbert on 3/8/18. | |
// | |
import Foundation | |
@objc final class ModernSegmentedControl: UIControl { |