This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 20180315 | |
# https://apple.stackexchange.com/questions/10467/how-to-increase-keyboard-key-repeat-rate-on-os-x | |
defaults write -g InitialKeyRepeat -int 10 # normal minimum is 15 (225 ms) | |
defaults write -g KeyRepeat -int 1 # normal minimum is 2 (30 ms) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<Bucket | |
type = "2" | |
version = "2.0"> | |
<Breakpoints> | |
<BreakpointProxy | |
BreakpointExtensionID = "Xcode.Breakpoint.SymbolicBreakpoint"> | |
<BreakpointContent | |
shouldBeEnabled = "No" | |
ignoreCount = "0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[managedObject managedObjectContext] performBlock:^{ | |
NSString *value = [managedObject someValue]; | |
[NSOperationQueue mainQueue] addOperationWithBlock:^{ | |
[[self label] setText:value]; | |
}]; | |
}]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[managedObjectContext performBlock:^{ | |
NSError *error = nil; | |
if (![managedObjectContext save:&error]){ | |
[self handleError:error]; | |
} | |
}]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void) allPeopleInManagedObjectContext:(NSManagedObjectContext *)managedObjectContext withCompletion:(void (^)(NSArray*, NSError*))completion { | |
[managedObjectContext performBlock:^{ | |
NSError *error = nil; | |
NSArray *results = nil; | |
NSFetchRequest *fetchRequest = nil; | |
NSPredicate *predicate = nil; | |
NSEntityDescription *entity = nil; | |
fetchRequest = [[NSFetchRequest alloc] init]; | |
entity = [NSEntityDescription entityForName:@"Person" inManagedObjectContext:context]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void) saveManagedObjectContext:(NSManagedObjectContext *)managedObjectContext withCompletion::(void (^)(BOOL, NSError *))completio{ | |
managedObjectContext performBlock:^{ | |
NSError *error = nil; | |
if (![managedObjectContext save:&error]){ | |
completion(NO, error); | |
} else { | |
if ([managedObjectContext parentContext] != nil){ | |
[self saveManagedObjectContext:[managedObjectContext parentContext] withCompletion:completion]; | |
} else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
group = dispatch_group_create(); | |
dispatch_group_enter(group); | |
[context performBlock:^{ | |
result = [context executeFetch:... | |
dispatch_group_leave(group); | |
}]; | |
groupResult = dispatch_group_wait(group, DISPATCH_TIME_FOREVER); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void) fetchThingsWithCompletion:(void (^)(NSArray *, NSError *))completion{ | |
[context performBlock:^{ | |
result = [context executeFetch:... | |
if (completion != nil){ | |
completion(result, error); | |
} | |
}]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 001: Upgrade to CocoaPods v0.39 and fix custom post install steps in Podfiles, etc. (Mon 11/16) (Wed 11/18) | |
* 002: Add use_frameworks! to hAPITracker and SS Podfile and investigate problems (Mon 11/16) (Thu 11/19) | |
* 003: Upgrade 3rd party dependencies as needed (Wed 11/18) (Thu 11/26) | |
* 004: Create new blank hAPITrackerFramework using Cocoa Touch Framework Xcode project (Thu 11/19) (Thu 11/19) | |
* 005: Turn hAPITrackerFramework into a CocoaPod that is used as a local dev pod only (no specs repo) (Thu 11/19) (Thu 11/19) | |
* 006: Create new blank iOS app that has hAPITrackerFramework as a dependency, with use_frameworks! (Thu 11/19) (Thu 11/19) | |
* 007: Add a unit test to hAPITrackerFramework and make sure it can run (Thu 11/19) (Thu 11/19) | |
* 008: Add a unit test to new blank iOS app and make sure it can run (Thu 11/19) (Thu 11/19) | |
* 009: Add all 3rd party pods to hAPITrackerKit (Fri 11/20) (Thu 11/26) | |
* 010: Add static libraries and source from libs folder from existing hAPITracker to new framework (TN, Google Ana |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Analyzing dependencies | |
Inspecting targets to integrate | |
Using `ARCHS` setting to build architectures of target `Pods`: (``) | |
Using `ARCHS` setting to build architectures of target `Pods-Main`: (``) | |
Using `ARCHS` setting to build architectures of target `Pods-MainTests`: (``) | |
Finding Podfile changes | |
- Pod1 | |
- Pod2 |
NewerOlder