diff --git a/DLRUIKit/source/UINavigationController+DLR.h b/DLRUIKit/source/UINavigationController+DLR.h index f732182..d4d2c46 100644 --- a/DLRUIKit/source/UINavigationController+DLR.h +++ b/DLRUIKit/source/UINavigationController+DLR.h @@ -10,7 +10,9 @@ @interface UINavigationController (DLR) -/** Returns true if the passed view controller is the first view controller in the stack of view controllers. */ +/** Returns true if the passed view controller is the first view controller in the + stack of view controllers. This can be helpful in determining if the + view controller needed to be popped or dismissed. */ - (BOOL)dlr_isFirstViewController:(UIViewController *)viewController; @end diff --git a/DLRUIKit/source/UIViewController+DLRNavigationController.h b/DLRUIKit/source/UIViewController+DLRNavigationController.h index 37b3214..4e968e5 100644 --- a/DLRUIKit/source/UIViewController+DLRNavigationController.h +++ b/DLRUIKit/source/UIViewController+DLRNavigationController.h @@ -10,7 +10,8 @@ @interface UIViewController (DLRNavigationController) -/** Returns a new navigation controller instance with this view controller as the root view controller. */ +/** Returns a new navigation controller instance with this view controller as the + root view controller. */ - (UINavigationController *)dlr_embedInsideNavigationController; @end diff --git a/README.md b/README.md index ba2384d..fbe16a7 100644 --- a/README.md +++ b/README.md @@ -177,7 +177,8 @@ layoutConstraint.constant = -10; ```objc /** Returns true if the passed view controller is the first view controller in the - stack of view controllers. */ + stack of view controllers. This can be helpful in determining if the + view controller needed to be popped or dismissed. */ - (BOOL)dlr_isFirstViewController:(UIViewController *)viewController; ``` @@ -185,6 +186,6 @@ layoutConstraint.constant = -10; ```objc /** Returns a new navigation controller instance with this view controller as the - root view controller. */ + root view controller. */ - (UINavigationController *)dlr_embedInsideNavigationController; ```