Latest 0.3.0
Homepage https://github.com/kevinsumios/UIViewController-KSAdditions
License MIT
Platforms ios 6.0
Authors

Category of UIViewController for efficient development.

Functions

  1. Init UIViewController with storyboard name and identifier.

    - (__kindof UIViewController * _Nonnull)KS_initWithStoryboardName:(NSString  * _Nullable)storyboardName andIdentifier:(NSString * _Nullable)identifier;
  2. UIPopoverController like popover function.

    - (void)KS_presentPopoverFromRect:(CGRect)rect inView:(UIView * _Nonnull)view permittedArrowDirections:(UIPopoverArrowDirection)arrowDirections animated:(BOOL)animated byViewController:(UIViewController * _Nullable)viewcontroller completion:(void  (^ _Nullable )(void))block;
    - (void)KS_presentPopoverFromBarButtonItem:(UIBarButtonItem * _Nonnull)item permittedArrowDirections:(UIPopoverArrowDirection)arrowDirections animated:(BOOL)animated byViewController:(UIViewController * _Nullable)viewcontroller completion:(void  (^ _Nullable )(void))block;
  3. Get the current visble top view controller globally

    + (__kindof UIViewController * _Nonnull)KS_topViewController;

Latest podspec

{
    "name": "UIViewController+KSAdditions",
    "version": "0.3.0",
    "summary": "A UIViewController category that make you use UIViewController more efficiently.",
    "description": "It is a category of UIViewController class, including lots of usefully functions that you will need when working with the UIViewController. This work is aim to reduce the repeate coding when you working with you iOS project.",
    "homepage": "https://github.com/kevinsumios/UIViewController-KSAdditions",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Kevin Sum": "[email protected]"
    },
    "source": {
        "git": "https://github.com/kevinsumios/UIViewController-KSAdditions.git",
        "tag": "0.3.0"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source_files": "UIViewController+KSAdditions.{h,m}"
}

Pin It on Pinterest

Share This