Latest 0.1.3
Homepage https://github.com/stackJolin/YWLoadingView
License MIT
Platforms ios 8.0
Dependencies Masonry
Frameworks UIKit, Foundation
Authors

CI Status
Version
License
Platform

It’s suppprt UICollectionView,UITableView,UIScrollView,UIView

Example

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

  • import UIView+YWLoadView
    start loading, set:
    [self.view ex_updateLoadingState:YWLoadState_Loading];
    or:
    [self.scrollView ex_updateLoadingState:YWLoadState_Loading];
    or:
    [self.table ex_updateLoadingState:YWLoadState_Loading];
    or:
    [self.collection ex_updateLoadingState:YWLoadState_Loading];

    end loading,set:
    YWLoadState_NoData = 1, // server no data
    YWLoadState_Failed = 2, // load failed
    YWLoadState_UnLogin = 3, // need login
    YWLoadState_NoNetWork = 4, // network limit
    YWLoadState_Finish = 5, // load compelte

  • if you want to catch click events:
    • self.view.loadingActionTarget = self;
    • implementation YWLoadActionDelegate method:
      • (void)clickLoadUnloginView:(id)unloginView
      • (void)clickNoNetWorkView:(id)noNetWorkView
      • (void)clickLoadNodataView:(id)nodataView
      • (void)clickLoadFailedView:(id)failedView

Requirements

Installation

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

pod 'YWLoadingView'

Author

[email protected], [email protected]

License

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

Latest podspec

{
    "name": "YWLoadingView",
    "version": "0.1.3",
    "summary": "YWTechnology loadingView",
    "homepage": "https://github.com/stackJolin/YWLoadingView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "[email protected]": "[email protected]"
    },
    "source": {
        "git": "https://github.com/stackJolin/YWLoadingView.git",
        "tag": "0.1.3"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "YWLoadingView/Classes/**/*",
    "prefix_header_file": "YWLoadingView/Classes/YWLoadingView.h",
    "public_header_files": "YWLoadingView/Classes/**/*.h",
    "resources": "YWLoadingView/YWLoadingView.bundle",
    "frameworks": [
        "UIKit",
        "Foundation"
    ],
    "dependencies": {
        "Masonry": []
    }
}

Pin It on Pinterest

Share This