Skip to content

Commit

Permalink
1.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
yulingtianxia committed May 27, 2019
1 parent 00f18af commit 69cce61
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion MessageThrottle.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "MessageThrottle"
s.version = "1.3.5"
s.version = "1.3.6"
s.summary = "A lightweight Objective-C message throttle and debounce library."
s.description = <<-DESC
MessageThrottle is a lightweight, simple library for controlling frequency of forwarding Objective-C messages. You can choose to control existing methods per instance or per class. It's an implementation of function throttle/debounce developed with Objective-C runtime.
Expand Down
4 changes: 0 additions & 4 deletions MessageThrottle/MessageThrottle.m
Original file line number Diff line number Diff line change
Expand Up @@ -599,11 +599,7 @@ static void mt_handleInvocation(NSInvocation *invocation, MTRule *rule)
return;
}

#if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_OSX
NSTimeInterval now = CACurrentMediaTime();
#else
NSTimeInterval now = [[NSDate date] timeIntervalSince1970];
#endif

switch (rule.mode) {
case MTPerformModeFirstly: {
Expand Down

0 comments on commit 69cce61

Please sign in to comment.