I hereby claim:
- I am stigi on github.
- I am ullrich (https://keybase.io/ullrich) on keybase.
- I have a public key whose fingerprint is 9D30 9D84 1E1A 4F29 029F E4D6 AB67 3DC1 F032 8A6A
To claim this, I am signing this object:
| #!/bin/bash | |
| # | |
| # Let's you know when your pods should be updated right after a git pull or git merge | |
| # Also works for fast-forward pulls. | |
| # | |
| # To enable this hook for your project, save it as .git/hooks/post-merge | |
| diff "Podfile.lock" "Pods/Manifest.lock" > /dev/null | |
| if [ $? != 0 ] ; then |
| - (void)bindFormCell:(MYFormCell *)cell toViewModel:(MYFormViewModel *)viewModel withKeyPath:(NSString *)keyPath | |
| { | |
| // signal passing in cell as an observer will complete the signal when cell is dealloced | |
| // (as well as (read "OR") when viewModel is dealloced) | |
| RACSignal *textInputSignal = [viewModel rac_valuesForKeyPath:keyPath observer:cell]; | |
| @weakify(cell); | |
| RACDisposable *inputDisposable = [textInputSignal subscribeNext:^(NSString *text) { | |
| @strongify(cell); | |
| cell.textField.text = text; | |
| }]; |
I hereby claim:
To claim this, I am signing this object:
| // | |
| // main.m | |
| // nil | |
| // | |
| // Created by Ullrich Schäfer on 13.05.14. | |
| // Copyright (c) 2014 nxtbgthng GmbH. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> |
| MyCrazyBlock block = ^(BOOL *stop) { | |
| dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_LOW, 0), ^{ | |
| // do some work | |
| dispatch_async(dispatch_get_main_queue(), ^{ | |
| *stop = YES; | |
| }); | |
| }); | |
| }; |
| import Foundation | |
| println("Hello, World!") | |
| class Test { | |
| class func foo (string:String = "test") { | |
| println("fooz " + string) | |
| } | |
| } |
| // | |
| // RAC.swift | |
| // ReactiveSwift | |
| // | |
| // Created by Yusef Napora on 6/10/14. | |
| // Copyright (c) 2014 Yusef Napora. All rights reserved. | |
| // | |
| import Foundation |
| [[[RACSignal return:@"returnValue"] logAll] waitUntilCompleted:nil]; | |
| NSLog(@"Done waiting for return"); | |
| RACCommand *c = [[RACCommand alloc] initWithSignalBlock:^RACSignal *(id _) { | |
| NSLog(@"Execute command"); | |
| return [RACSignal createSignal:^RACDisposable *(id<RACSubscriber> subscriber) { | |
| NSLog(@"Command Signal subscribed"); | |
| [subscriber sendNext:@"commandValue"]; | |
| [subscriber sendCompleted]; | |
| return nil; |
| * _ | |
| _( )_ | |
| (_(%)_) | |
| (_)\ | |
| | __ | |
| HAPPY |/_/ | |
| BIRTHDAY | | |
| ORTA | |