Latest 1.0.0
Homepage https://github.com/muccy/MUKScrollTrigger
License MIT
Platforms ios 7.0, requires ARC
Dependencies KVOController
Authors

CI Status
Version
License
Platform

MUKScrollTrigger observes a UIScrollView instance and it monitors scrolled amount. When a threshold is passed, it triggers.
This mechanism could be used to achieve infinite scroll of a table view, for example.

Usage

self.trigger = [[MUKScrollTrigger alloc] initWithScrollView:scrollView test:^(MUKScrollTrigger *trigger) {
    return trigger.scrolledFraction.trailing.height > 0.95f;
}];
[self.trigger addTarget:self action:@selector(scrollTriggerActivated:)];

Requirements

  • iOS 7 SDK.
  • Minimum deployment target: iOS 7.

Installation

MUKScrollTrigger is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "MUKScrollTrigger"

Author

Marco Muccinelli, [email protected]

License

MUKScrollTrigger is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "MUKScrollTrigger",
    "version": "1.0.0",
    "summary": "An observer of UIScrollView which triggers when a certain amount is scrolled.",
    "description": "MUKScrollTrigger observes a UIScrollView instance and it monitors scrolled amount. When anthreshold is passed, it triggers.nThis mechanism could be used to achieve infinite scroll of a table view, for example.",
    "homepage": "https://github.com/muccy/MUKScrollTrigger",
    "license": "MIT",
    "authors": {
        "Marco Muccinelli": "[email protected]"
    },
    "source": {
        "git": "https://github.com/muccy/MUKScrollTrigger.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Classes/*.{h,m}",
    "compiler_flags": "-Wdocumentation",
    "dependencies": {
        "KVOController": [
            "~> 1.0.3"
        ]
    }
}

Pin It on Pinterest

Share This