- Tel aviv, Israel
- http://about.me/tomertomer
Pinned Loading
-
-
NanoProfiler
NanoProfiler PublicMeasure a function's runtime without adding a single line of code to the original function. Nothing more.
-
AppleGuice
AppleGuice PublicEffortless dependency injection framework for Objective-C
-
A simple pooled promise implementation
A simple pooled promise implementation 1Promise.joinPooledTasks = (worker, poolSize, onTaskFinished) => {
23let didEnqueAllTasks = false;
4let nextTaskIndex = -1;
5 -
Unlike Promise.all(), that will reje...
Unlike Promise.all(), that will reject when the first promise rejects, the Promise.waitForAll() will never rejects. The method returns a single Promise that resolves when all of the promises in the iterable argument have either resolved or rejects. It returns an array of objects with either a results or error key. 1Promise.waitForAll = promises => {
2if (!promises || typeof promises[Symbol.iterator] !== 'function') {
3return Promise.reject();
4}
5 -
continues press gesture recognizer
continues press gesture recognizer 1-(void) syncButtonViewDidPassedSyncTreshhold:(CPRSyncButtonView*) syncView {
2self.didFinishSync = YES;
3}
45-(void) syncButtonViewDidShowSyncConfirmation:(CPRSyncButtonView*) syncView {
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.