Latest 0.1.0
Homepage https://github.com/intitni/NonScrollView
License MIT
Platforms ios 9.0
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

In the example project, you may tap on even rows to add more cells, and odd rows to decrease.

Installation

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

pod 'NonScrollView'
pod 'NonScrollView/Containers' # to install example containers that you should never use in production

Usage

ViewPlacer

You need to provide a NonScrollViewLayout for NonScrollView to layout subviews. A NonScrollViewLayout consists of a few ViewPlacers for NonScrollView to place its subviews, a block to generate contentSize and a block to generate contentInset.

Please check ScrollViewChainController for example.

NonScrollViewScrollRecognizer

You may also treat NonScrollView as a gesture recognizer. Please check HeaderSegmentController for example.

You are not recommended to use any of the containers in NonScrollView/Containers, they are for experiments only. Though they should work, edge cases may not be handled correctly.

License

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

Latest podspec

{
    "name": "NonScrollView",
    "version": "0.1.0",
    "summary": "NonScrollView is not a scroll view.",
    "description": "NonScrollView is not a scroll view. Yes.",
    "homepage": "https://github.com/intitni/NonScrollView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "intitni": "[email protected]"
    },
    "source": {
        "git": "https://github.com/intitni/NonScrollView.git",
        "tag": "0.1.0"
    },
    "social_media_url": "https://twitter.com/intitni",
    "platforms": {
        "ios": "9.0"
    },
    "swift_version": "4.2",
    "source_files": "NonScrollView/Classes/**/*",
    "default_subspecs": "Core",
    "subspecs": [
        {
            "name": "Core",
            "source_files": "NonScrollView/Classes/Core/**/*"
        },
        {
            "name": "Containers",
            "source_files": "NonScrollView/Classes/Containers/**/*",
            "dependencies": {
                "NonScrollView/Core": []
            }
        }
    ]
}

Pin It on Pinterest

Share This