Latest 0.1.3
Homepage https://github.com/Ghstart/HongshiLogin
License MIT
Platforms ios 8.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.

Requirements

Installation

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

pod "HongshiLogin"

Use

steps

One Step:

#import "HSWLLoginConstant.h"

Two Step:

You can use finsishBlcok call back

HSWLLoginManager *loginManager = [[HSWLLoginManager alloc] init];
[loginManager showAddTo:self finishedBlock:nil];

Using Delegate to handle Methods

add delelget to instance

loginManager.delegate = self;
@interface XXXViewController ()<HSWLLoginManagerDelegate>

@end

delegate methods according to the Types

- (void)HSWLViewWillShowWhichType:(HSWLShowStyle)ToType {
   NSLog(@"%ld will show", (long)ToType);
}

- (void)HSWLViewDidShowWhichType:(HSWLShowStyle)ToType {
   NSLog(@"%ld did show", (long)ToType);
}

types –>

typedef NS_ENUM(NSInteger, HSWLShowStyle) {
    HSWLLogin = 99,
    HSWLRegister,
    HSWLForgetPassword,
    HSWLFollowDetails
};

Author

John, [email protected]

License

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

Latest podspec

{
    "name": "HongshiLogin",
    "version": "0.1.3",
    "summary": "This module includes Login function and simple UI",
    "homepage": "https://github.com/Ghstart/HongshiLogin",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "John": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Ghstart/HongshiLogin.git",
        "tag": "0.1.3"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "HongshiLogin/Classes/**/*"
}

Pin It on Pinterest

Share This