Skip to content

Commit

Permalink
fix selector array count
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidhant Gandhi committed Dec 5, 2014
1 parent 362a81e commit 37cf98c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Pod/Classes/UIViewController+DynamicAnalytics.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ + (void)load {
}

// Loop over selectors and exchange method implmentations
for (int i = 0; i < sizeof(originalSelectors); i++) {
for (int i = 0; i < sizeof(originalSelectors)/sizeof(SEL); i++) {
Method originalMethod = class_getInstanceMethod(class, originalSelectors[i]);
Method swizzledMethod = class_getInstanceMethod(class, swizzledSelectors[i]);

Expand Down
2 changes: 1 addition & 1 deletion SYNDynamicAnalytics.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "SYNDynamicAnalytics"
s.version = "0.1.2"
s.version = "0.1.3"
s.summary = "Automatically measure screen time on a view controller."
s.description = <<-DESC
SYNDynamicAnalytics provides a category on UIViewController that automatically handles measuring screen time on any UIViewController subclass. Blocks and delegate support to easily utilize any analytics library.
Expand Down

0 comments on commit 37cf98c

Please sign in to comment.