Latest 1.0.1
Homepage https://github.com/klaaspieter/KPAStoryboardConvenience
License MIT
Platforms ios 5.0, requires ARC
Authors

Introduction

A UIStoryboard convenience category offering a standard way of naming components in UIStoryboards.

Installation

Add the following to your Podfile:

pod "KPAStoryboardConvenience"

Usage

Set the name of your default storyboard using setMainStoryboardName:
Now access your storyboard anywhere in your app using mainStoryboard.

Instantiate your view controllers using:

[[UIStoryboard mainStoryboard] instantiateViewControllerForClass:[MyViewController class]];

You can also directly access the identifiers

  • + (NSString *)storyboardIdentifierForClass:(Class)theClass;
  • + (NSString *)segueIdentifierForClass:(Class)theClass;
  • + (NSString *)reuseIdentifierForClass:(Class)theClass;

All usage is documented in the Spec.

Latest podspec

{
    "name": "KPAStoryboardConvenience",
    "version": "1.0.1",
    "summary": "A UIStoryboard convenience category offering a standard way of naming components in UIStoryboards.",
    "homepage": "https://github.com/klaaspieter/KPAStoryboardConvenience",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Klaas Pieter Annema": "[email protected]"
    },
    "platforms": {
        "ios": "5.0"
    },
    "source": {
        "git": "https://github.com/klaaspieter/KPAStoryboardConvenience.git",
        "tag": "1.0.1"
    },
    "source_files": [
        "Classes",
        "Classes/**/*.{h,m}"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This