Permalink
Browse files

Fixed authorization-problem with lastSelectedIndexPath

  • Loading branch information...
1 parent bd54b3d commit 39f575dde96dba35a6e34a915d4600f3fda5e759 @myell0w myell0w committed Mar 7, 2011
Showing with 3 additions and 4 deletions.
  1. +3 −1 TableView/PSTableViewController.h
  2. +0 −3 TableView/PSTableViewController.m
View
4 TableView/PSTableViewController.h
@@ -10,17 +10,19 @@
// custom reimplementation of UITableViewController for more flexibility
@interface PSTableViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> {
+ NSIndexPath *lastSelectedIndexPath_;
+
@private
BOOL useShadows;
UITableView *tableView;
UITableViewStyle _tableViewStyle;
- NSIndexPath *lastSelectedIndexPath_;
}
@property (nonatomic, retain) UITableView *tableView;
@property (nonatomic, readonly) UITableViewStyle tableViewStyle;
@property (nonatomic) BOOL useShadows;
+@property (nonatomic, retain) NSIndexPath *lastSelectedIndexPath;
- (UITableView *)createTableView;
View
3 TableView/PSTableViewController.m
@@ -10,9 +10,6 @@
#import "ShadowedTableView.h"
@interface PSTableViewController ()
-
-@property (nonatomic, retain) NSIndexPath *lastSelectedIndexPath;
-
@end
// http://cocoawithlove.com/2009/03/recreating-uitableviewcontroller-to.html

0 comments on commit 39f575d

Please sign in to comment.