Latest 1.0.5
Homepage https://github.com/JmeHsieh/JMEParallaxView
License MIT
Platforms ios 6.0, requires ARC
Dependencies KVOController
Authors

Version
Platform

An easy-configuring UIView + UIImageView to perform parallax effect.

JMEParallaxView Screenshot
JMEParallaxView Screenshot

Youtube Video

Requirements

  • Xcode 5 or higher
  • Apple LLVM compiler
  • iOS 6.0 or higher
  • ARC

Demo

Build and run JMEParallaxViewExample Xcode workspace to see how JMEParallaxView works.

Usage

parallaxView.observingScrollView = tableView; 
parallaxView.contentImageView.image = yourImage;
parallaxView.contentDisplayingPercentage = 0.8; 
parallaxView.activeRange = [JMEParallaxView activeRangeWithTableView:tableView indexPath:indexPath direction:parallaxView.direction edgeInsets:UIEdgeInsetsZero];

See more in the example project.

Installation

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

pod "JMEParallaxView"

Alternatively, you can manually copy the files under JMEParallaxView directory into your project. Just be sure to have KVOController in your project, since we use it to track your scroll view.

Contact

Jo-Yuan Hsieh

Notes and Accreditation

JMEParallaxView very gratefully makes use of these other fantastic open source projects:

  • KVOController – Used to track scrolling events of UIScrollView.

Demo photos kindly provided by Jo-Yuan Hsieh (http://instagram.com/jmehsieh).

License

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

Latest podspec

{
    "name": "JMEParallaxView",
    "version": "1.0.5",
    "authors": {
        "Jo-Yuan Hsieh": "[email protected]"
    },
    "homepage": "https://github.com/JmeHsieh/JMEParallaxView",
    "social_media_url": "https://twitter.com/jmehsieh",
    "screenshots": [
        "https://raw.githubusercontent.com/JmeHsieh/JMEParallaxView/master/Demo.png",
        "https://raw.githubusercontent.com/JmeHsieh/JMEParallaxView/master/Demo.gif"
    ],
    "summary": "An easy-configuring UIView + UIImageView to perform parallax effect.",
    "source": {
        "git": "https://github.com/JmeHsieh/JMEParallaxView.git",
        "tag": "1.0.5"
    },
    "license": "MIT",
    "platforms": {
        "ios": "6.0"
    },
    "requires_arc": true,
    "source_files": "JMEParallaxView",
    "public_header_files": "JMEParallaxView/*.h",
    "dependencies": {
        "KVOController": [
            "~> 1.0.1"
        ]
    }
}

Pin It on Pinterest

Share This