Latest 0.0.1
Homepage https://github.com/jawadasif/JNAPushPopCompletionBlock
License MIT
Platforms ios , requires ARC
Frameworks Foundation, UIKit
Authors

codebeat badge
Build Status
Cocoapod
Platform
License

Synopsis

Completion block for

[self.navigationController pushViewController:(nonnull UIViewController *) animated:(BOOL)]

and

[self.navigationController popViewControllerAnimated:(BOOL)];
[self.navigationController popToViewController:(nonnull UIViewController *) animated:(BOOL)];
[self.navigationController popToRootViewControllerAnimated:(BOOL)];

Installation

Using Cocoapod

pod 'JNAPushPopCompletionBlock'

Manual

Add

to your project.

Usages

Check out the demo app for an example.

#import "UINavigationController+JNAPushPopCompletionBlock.h"

---------
[self.navigationController pushViewController:viewController animated:YES completion:^{
    // Add code here.
}];

[self.navigationController popViewControllerAnimated:YES completion:^{
    // Add code here.
}];

[self.navigationController popToViewController:viewController animated:YES completion:^{
        // Add code here.
}];

[self.navigationController popToRootViewControllerAnimated:YES completion:^{
    // Add code here.
}];

License

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

Latest podspec

{
    "name": "JNAPushPopCompletionBlock",
    "version": "0.0.1",
    "summary": "Completion Block for UINavigationController Push/Pop UIViewController",
    "description": "Completion Block for UINavigationController Push/Pop UIViewController",
    "homepage": "https://github.com/jawadasif/JNAPushPopCompletionBlock",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Md. Jawad Noor Asif": "[email protected]"
    },
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/jawadasif/JNAPushPopCompletionBlock.git"
    },
    "source_files": "JNAPushPopCompletionBlock_Objective-C",
    "frameworks": [
        "Foundation",
        "UIKit"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This