Skip to content

Instantly share code, notes, and snippets.

Soroush Khanlou khanlou

Block or report user

Report or block khanlou

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Moment.swift
import Foundation
import JavaScriptCore
/// Used to lookup our Bundle.
private class MomentBundleClass: NSObject {}
/// A wrapper around a moment.js object.
public struct Moment {
@berzniz
berzniz / NSObject+Debounce.h
Created Jan 25, 2014
Debounce method for Objective C
View NSObject+Debounce.h
@interface NSObject (Debounce)
- (void)debounce:(SEL)action delay:(NSTimeInterval)delay;
@end
You can’t perform that action at this time.