I hereby claim:
- I am abathingchris on github.
- I am chrislong (https://keybase.io/chrislong) on keybase.
- I have a public key ASAMLVX55WeoyBs7fw15OhBSEDoj8R1owsW78pnwH2PAUQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
func fetchData(completion: @escaping () -> Void) { | |
// RestClientSuccessBlock onSuccess = ^(RKObjectRequestOperation *operation, RKMappingResult *mappingResult) { | |
// NSDictionary *resultDict = [mappingResult dictionary]; | |
// | |
// dispatch_async(dispatch_get_main_queue(), ^{ | |
// | |
// [self handleResponse:resultDict error:nil]; | |
// | |
// if(completion) { |
typedef void (^RestClientSuccessBlock)(RKObjectRequestOperation *operation, RKMappingResult *mappingResult); | |
typedef void (^RestClientFailureBlock)(RKObjectRequestOperation *operation, NSError *error); | |
#pragma mark - Network Accessibility Code | |
- (void)fetchData:(void(^)(void))completion { | |
[self prepareForFetch]; | |
RestClientSuccessBlock onSuccess = ^(RKObjectRequestOperation *operation, RKMappingResult *mappingResult) { | |
#pragma mark - Network Accessibility Code | |
- (void)fetchData:(void(^)(void))completion { | |
[self prepareForFetch]; | |
RestClientSuccessBlock onSuccess = ^(RKObjectRequestOperation *operation, RKMappingResult *mappingResult) { | |
NSDictionary *resultDict = [mappingResult dictionary]; | |
dispatch_async(dispatch_get_main_queue(), ^{ |
import Foundation | |
extension UnicodeScalar : ForwardIndexType { | |
public func successor() -> UnicodeScalar { | |
return UnicodeScalar(value + 1) | |
} | |
} | |
var operatorHeads: [UnicodeScalar] = Array("=-+!*%<>&|^~?".unicodeScalars) | |
operatorHeads += Array("\u{00A1}" ... "\u{00A7}") |
// Returns the persistent store coordinator for the application. | |
// If the coordinator doesn't already exist, it is created and the application's store added to it. | |
- (NSPersistentStoreCoordinator *)persistentStoreCoordinator | |
{ | |
if (_persistentStoreCoordinator != nil) { | |
return _persistentStoreCoordinator; | |
} | |
NSURL *storeURL = [[self applicationDocumentsDirectory] URLByAppendingPathComponent:@"test.sqlite"]; | |
--- | |
language: objective-c | |
before_script: | |
- ./scripts/travis/add-key.sh | |
after_script: | |
- ./scripts/travis/remove-key.sh | |
after_success: | |
- ./scripts/travis/testflight.sh | |
env: | |
global: |
- [ ] [nomad cli](http://nomad-cli.com/) |