This repository was archived by the owner on Jun 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +1
-12
lines changed
Example/SimpleExample/SimpleExample Expand file tree Collapse file tree 3 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ - (UITableViewCell *)pageIndex:(NSUInteger)pageIndex tableView:(UITableView *)ta
194
194
// optionals
195
195
- (NSInteger )pageIndex : (NSUInteger )pageIndex numberOfSectionsInTableView : (UITableView *)tableView {
196
196
// Return the number of sections.
197
- return 0 ;
197
+ return 1 ;
198
198
}
199
199
200
200
- (NSString *)pageIndex : (NSUInteger )pageIndex tableView : (UITableView *)tableView titleForHeaderInSection : (NSInteger )section {
Original file line number Diff line number Diff line change @@ -83,11 +83,6 @@ - (void)goToFirstPage
83
83
}
84
84
85
85
#pragma mark - Paging view data source
86
- - (NSInteger )pageIndex : (NSUInteger )pageIndex numberOfSectionsInTableView : (UITableView *)tableView
87
- {
88
- // Return the number of sections.
89
- return 1 ;
90
- }
91
86
92
87
- (NSInteger )pageIndex : (NSUInteger )pageIndex tableView : (UITableView *)tableView numberOfRowsInSection : (NSInteger )section
93
88
{
Original file line number Diff line number Diff line change @@ -98,12 +98,6 @@ Gives you the page index of the current displayed page.
98
98
####moveToPageAtIndex: animated
99
99
Changes the displayed page to the given page index. If animated is YES the change is animated with a swipe.
100
100
101
-
102
- Note:
103
- You have to implement the delegate method
104
- - (NSInteger)pageIndex:(NSUInteger)pageIndex numberOfSectionsInTableView:(UITableView * )tableView
105
- in order to get it to work.
106
-
107
101
Licence
108
102
----------
109
103
Copyright (c) 2012 arconsis IT-Solutions GmbH (http://www.arconsis.com )
You can’t perform that action at this time.
0 commit comments