I hereby claim:
- I am sprynmr on github.
- I am bobspryn (https://keybase.io/bobspryn) on keybase.
- I have a public key ASDuZ3JsaaJjjU0s6B4Bp2fPxJAs37mj-vezcBGIsPjmoQo
To claim this, I am signing this object:
Homebrew build logs for sphinx-doc on macOS 10.14 | |
Build date: 2018-07-18 00:16:00 |
/* | |
Copyright (C) 2018 Apple Inc. All Rights Reserved. | |
See LICENSE.txt for this sample’s licensing information | |
Abstract: | |
Zone local cache class, managing the zone local cache. | |
*/ | |
import Foundation | |
import CloudKit |
//: Playground - noun: a place where people can play | |
// One way or another get RxSwift into your playground: https://github.com/segiddins/ThisCouldBeUsButYouPlaying | |
import PlaygroundSupport | |
PlaygroundPage.current.needsIndefiniteExecution = true | |
import RxSwift | |
// this is for testing using shareReplay for our network calls and any gotchas |
// example json being mapped in | |
// { | |
// "pageName": "home", // string from a known set | |
// "slots": [ { | |
// "name": "homeTopSlot", // string from a known set, only found in the specific pageName | |
// "message": "Some message" | |
// }, | |
// { | |
// "name": "bottomTopSlot", // ditto | |
// "message": "Some message" |
I hereby claim:
To claim this, I am signing this object:
- (NSDictionary *) generateChangeSetsForSection:(NSString *) section withNewObjects:(NSOrderedSet *) newObjects fromOldObjects:(NSOrderedSet *) oldObjects { | |
NSSet *newObjectsSet = [newObjects set]; | |
NSSet *previousObjectsSet = [oldObjects set]; | |
NSMutableSet *insertedObjects = [newObjectsSet mutableCopy]; | |
[insertedObjects minusSet:previousObjectsSet]; | |
NSMutableSet *deletedObjects = [previousObjectsSet mutableCopy]; | |
[deletedObjects minusSet:newObjectsSet]; | |
NSMutableSet *updatedObjects = [newObjectsSet mutableCopy]; | |
[updatedObjects minusSet:insertedObjects]; | |
[updatedObjects minusSet:deletedObjects]; |
// | |
// View Controller | |
// | |
- (void) viewDidLoad { | |
[super viewDidLoad]; | |
RAC(self.viewModel, username) = [myTextfield rac_textSignal]; | |
RACSignal *usernameIsValidSignal = RACObserve(self.viewModel, usernameValid); |
Just an update for you. We think we've tracked down the bug. I obviously can't give you an ETA on the fix landing, but I wanted to give you an alternative workaround. You can probably address this by deleting your project's BuiltProducts directory (or more specifically, the built .app bundle within it) between builds. Alternatively, if you don't change your Info.plist between builds, that will probably also not cause the problem to occur. |
RACSignal *controlUpdate = [myButton rac_signalForControlEvents:UIControlEventTouchUpInside]; | |
// signals for UIControl events send the control event value (UITextField, UIButton, UISlider, etc) | |
// subscribeNext:^(UIButton *button) { NSLog(@"%@", button); // UIButton instance } | |
RACSignal *textChange = [myTextField rac_textSignal]; | |
// some special methods are provided for commonly needed control event values off certain controls | |
// subscribeNext:^(UITextField *textfield) { NSLog(@"%@", textfield.text); // "Hello!" } | |
RACSignal *alertButtonClicked = [myAlertView rac_buttonClickedSignal]; | |
// signals for some delegate methods send the delegate params as the value |
RACSignal *networkSignal = [RACSignal createSignal:^RACDisposable *(id<RACSubscriber> subscriber) { | |
NetworkOperation *operation = [NetworkOperation getJSONOperationForURL:@"http://someurl"]; | |
[operation setCompletionBlockWithSuccess:^(NetworkOperation *theOperation, id *result) { | |
[subscriber sendNext:result]; | |
[subscriber sendCompleted]; | |
} failure:^(NetworkOperation *theOperation, NSError *error) { | |
[subscriber sendError:error]; | |
}]; |