I hereby claim:
- I am lemonkey on github.
- I am lemonkey (https://keybase.io/lemonkey) on keybase.
- I have a public key whose fingerprint is 864D B213 DBD6 A2C5 943E 1EDD A604 2AA8 08C1 7367
To claim this, I am signing this object:
#!/bin/sh | |
CAN_COMPARE=0; | |
EMAIL="<list of email addresses separated with a space"; | |
# If index.html exists, rename to index.html.old. | |
if [ -f index.html ]; | |
then | |
CAN_COMPARE=1; | |
mv index.html index.html.old |
I hereby claim:
To claim this, I am signing this object:
NSMeetup: Designing Your API Client (@sandofsky) | |
2014/08/06 | |
500px client example | |
(in swift) | |
twitter iOS model layer used in mac client |
# Assumes build version in xcconfig is defined as the following, where no spaces, spaces and/or tabs are allowed: | |
# BUILD_VERSION = 1.2.3.4 | |
filename = "sample.xcconfig" | |
build_version_property = "BUILD_VERSION" | |
new_version_string = "" | |
lines = IO.readlines(filename) |
SWIFT_OBJC_INTERFACE_HEADER_NAME
for a framework target is part of the framework’s public interface, only Swift declarations marked with the public
modifier for classes or structs marked with @objc
appear in this header for a framework target.
#import <ProductName/ProductModuleName-Swift.h>
internal
modifier from within the ObjC part of your framework, as long they are declared within a Swift class that inherits from an ObjC class.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`: (``) | |
Fetching external sources | |
-> Fetching podspec for `Pod1` from `./Pod1` | |
-> Fetching podspec for `Pod2` from `./Pod1/Pod2` |
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 |
* 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 |
- (void) fetchThingsWithCompletion:(void (^)(NSArray *, NSError *))completion{ | |
[context performBlock:^{ | |
result = [context executeFetch:... | |
if (completion != nil){ | |
completion(result, error); | |
} | |
}]; | |
} |
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); |