Latest2.0
Homepagehttps://github.com/nobre84/RNExternStoryboard
LicenseMIT
Platformsios 6.0, requires ARC
DependenciesObjcAssociatedObjectHelpers, JRSwizzle
Authors

RNExternStoryboard is a clean way to link view controllers with segues between multiple storyboards.

Split your View Controller logic into multiple reusable Storyboards, seguing between them effortlessly with no additional code and no subclassing!

This page includes the Library files necessary for integration in your app, and a demo app that demonstrates how to link view controllers with segues between multiple storyboards.

Based on work by Paul Malikov.

Inspired by RBStoryboardLink.

Installation

The recommended install method is via CocoaPods – its easy!

pod 'RNExternStoryboard'

Otherwise you can clone the repository and manually copy the Library folder and the following dependencies into your project:

Usage

After you break your storyboards into modules, link between them by either:

  • Creating a UINavigationController in the source storyboard and setting the User defined runtime attributes "storyboardName":"YourStoryboardName" and optionally a "sceneIdentifier":"YourSpecificVCIdentifier" to automatically load its Root View Controller from another Storyboard.
  • Using a extern push or extern modal segue to a blank view controller which declares the above runtime attributes, to transition to a View Controller in another Storyboard.

See the demo app for more information, its a seamless, no-drawbacks solution that makes your storyboards lighter, more reusable and team-friendly (avoid merge conflicts with modular storyboards that can be owned/maintained by single/few developers)

Latest podspec

{
    "name": "RNExternStoryboard",
    "version": "2.0",
    "summary": "Clean way to link view controllers with segues between multiple storyboards",
    "description": "Split your View Controller logic into multiple reusable Storyboards, seguing between them effortlessly with no additional code and no subclassing!",
    "homepage": "https://github.com/nobre84/RNExternStoryboard",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Rafael Nobre": "[email protected]"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/nobre84/RNExternStoryboard.git",
        "tag": "2.0"
    },
    "source_files": "Library/*.{h,m}",
    "requires_arc": true,
    "dependencies": {
        "ObjcAssociatedObjectHelpers": [
            "~> 1.2.0"
        ],
        "JRSwizzle": [
            "~> 1.0"
        ]
    }
}

Pin It on Pinterest

Share This