Bug fix and change interface
- Fixed crash when returning to the previous screen. #1
- Thanks @STAR-ZERO
- Fixed delegate method forwarding issue #2 #3
Migration Guide
scrollViewDelegate
is deprecated. Instead of set property, use new initialiser initWithForwardTarget:
to set proxy to view controller.
- (void)viewDidLoad
{
[super viewDidLoad];
_scrollProxy = [[NJKScrollFullScreen alloc] initWithForwardTarget:self]; // UIScrollViewDelegate and UITableViewDelegate methods proxy to ViewController
self.tableView.delegate = (id)_scrollProxy; // cast for surpress incompatible warnings
_scrollProxy.delegate = self;
}