I hereby claim:
- I am kcharwood on github.
- I am kevinharwood (https://keybase.io/kevinharwood) on keybase.
- I have a public key whose fingerprint is 3536 90A1 571F 0DF3 6506 DE79 D24F 5B9B 0409 1B58
To claim this, I am signing this object:
require "SimpleMDM" | |
module Fastlane | |
module Actions | |
module SharedValues | |
end | |
class UploadToSimplemdmAction < Action | |
def self.run(params) | |
SimpleMDM.api_key = "#{params[:api_key]}" |
Build settings from command line: | |
ONLY_ACTIVE_ARCH = NO | |
=== BUILD TARGET Alamofire OSX OF PROJECT Alamofire WITH CONFIGURATION Release === | |
Check dependencies | |
Write auxiliary files | |
write-file /Users/kevin.harwood/Library/Developer/Xcode/DerivedData/Alamofire-acpuopyuaoxdkqdlgoskjqujijav/Build/Intermediates/Alamofire.build/all-product-headers.yaml |
import Foundation | |
import XCTest | |
extension XCTestCase { | |
func waitForActivityIndicatorToStartAndFinishSpinning(activityIndicatorElement: XCUIElement, timeout: NSTimeInterval = 30.0) { | |
let inProgressPredicate = NSPredicate(format: "label = 'In progress'") | |
self.expectationForPredicate(inProgressPredicate, evaluatedWithObject: activityIndicatorElement, handler: nil) | |
self.waitForExpectationsWithTimeout(timeout, handler: nil) | |
I hereby claim:
To claim this, I am signing this object:
#import "MMNavigationController.h" | |
#import <MMDrawerController/UIViewController+MMDrawerController.h> | |
@interface MMNavigationController () | |
@end | |
@implementation MMNavigationController |
post_install do |installer_representation| | |
installer_representation.project.targets.each do |target| | |
target.build_configurations.each do |config| | |
if (config.name.match(/[Dd]ebug/)) | |
config.build_settings['GCC_OPTIMIZATION_LEVEL'] = 0 | |
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = 'DEBUG=1 $(inherited)' | |
end | |
end | |
end | |
end |
-(void)setCompletionBlockWithSuccess:(void (^)(AFHTTPRequestOperation *, id))success | |
failure:(void (^)(AFHTTPRequestOperation *, NSError *))failure { | |
void (^newSuccessBlock)(AFHTTPRequestOperation*, id) = | |
^(AFHTTPRequestOperation *operation, id responseObject){ | |
NSError * customError = nil; | |
//Do some custom error processessing | |
if(customError){ | |
if(nil != failure) |