Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- Corrected typo in MCPAGERVIEW_DID_UPDATE_NOTIFICATION

  • Loading branch information...
commit 97ec6d751c28c90a978e37c6d0ee02ddc19e54dc 1 parent a0c0d0b
@Baglan authored
Showing with 4 additions and 4 deletions.
  1. +1 −1  Classes/MCPagerView.h
  2. +1 −1  Classes/MCPagerView.m
  3. +2 −2 README.md
View
2  Classes/MCPagerView.h
@@ -8,7 +8,7 @@
#import <UIKit/UIKit.h>
-#define MCPAGERVIEW_DID_UPDATE_NOTIFICTAION @"MCPageViewDidUpdate"
+#define MCPAGERVIEW_DID_UPDATE_NOTIFICATION @"MCPageViewDidUpdate"
@protocol MCPagerViewDelegate;
View
2  Classes/MCPagerView.m
@@ -59,7 +59,7 @@ - (void)setPage:(NSInteger)page
}
// Send update notification
- [[NSNotificationCenter defaultCenter] postNotificationName:MCPAGERVIEW_DID_UPDATE_NOTIFICTAION object:self];
+ [[NSNotificationCenter defaultCenter] postNotificationName:MCPAGERVIEW_DID_UPDATE_NOTIFICATION object:self];
}
- (NSInteger)numberOfPages
View
4 README.md
@@ -60,9 +60,9 @@ Here is a simple "go to page" code from the sample project:
[scrollView setContentOffset:offset animated:YES];
}
-Alternatively, an object can observe the "MCPAGERVIEW_DID_UPDATE_NOTIFICTAION" notification on the default notification center:
+Alternatively, an object can observe the "MCPAGERVIEW_DID_UPDATE_NOTIFICATION" notification on the default notification center:
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(onPageChange)
- name:MCPAGERVIEW_DID_UPDATE_NOTIFICTAION
+ name:MCPAGERVIEW_DID_UPDATE_NOTIFICATION
object:pagerView];
Please sign in to comment.
Something went wrong with that request. Please try again.