Latest 1.2.0
Homepage https://github.com/xjh093/JHPP
License MIT
Platforms ios 5.0, requires ARC
Authors

Push & Present ViewController at any view, just so easy!

  • 在任何 view 内进行 PushPresent,就是这么简单!

Version

Latest release version:

1.2.0


Cocoapods

pod "JHPP"


What

image


Usage

Example1:

UIViewController *vc = [[UIViewController alloc] init];
vc.title = @"JHPP Push 1";
vc.view.backgroundColor = [UIColor whiteColor];
[JHPP pushVC:vc from:self]; // or [JHPP pushVC:vc from:nil];

Example2:

dispatch_block_t callback = ^{
    [_button setTitleColor:[UIColor redColor] forState:0];
};

NSMutableDictionary *mdic = @{}.mutableCopy;
[mdic setValue:@"跳转事件:在上一个控制器的 Cell 内" forKey:@"text"];
[mdic setValue:@"JHPP Push 3" forKey:@"title"];
[mdic setValue:callback forKey:@"callback"];

[JHPP pushVC:@"JHPPVC3" paramter:mdic from:self]; // or [JHPP pushVC:@"JHPPVC3" paramter:mdic from:nil];

Logs

2019-03-25:

1.add some methods.

2019-03-05:

1.add some methods.

2019-02-27:

1.upload.


More detail in Demo :)


Latest podspec

{
    "name": "JHPP",
    "summary": "Push & Present ViewController at any view, just so easy!",
    "version": "1.2.0",
    "license": {
        "type": "MIT"
    },
    "authors": {
        "Haocold": "[email protected]"
    },
    "homepage": "https://github.com/xjh093/JHPP",
    "platforms": {
        "ios": "5.0"
    },
    "source": {
        "git": "https://github.com/xjh093/JHPP.git",
        "tag": "1.2.0"
    },
    "source_files": "JHPP/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This