Skip to content

Releases: ninjinkun/NJKScrollFullScreen

Fixed error message in swift

30 Jun 10:51
Compare
Choose a tag to compare

iOS 8 UITabBar support

16 Oct 05:54
Compare
Choose a tag to compare
  • Added iOS 8 UITabBar support #21

Bug fix and change interface

13 Jan 11:46
Compare
Choose a tag to compare
  • Fixed crash when returning to the previous screen. #1
  • Fixed delegate method forwarding issue #2 #3
    • Remove scrollViewDelegate property.
    • Introduce new initialiser initWithForwardTarget:.
    • Thanks @cannyboy @bkoc

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;
}