Skip to content

Suggestion: CFSA (Compiler friendly storyboard access) #198

@nadav96

Description

@nadav96

Hi, I would like to suggest this run time script for enhancing xcode ide, the script scans all storyboards in project, and builds a map of all storyboards, and for each the all the registered view controllers.
The script use the data to create a api which the developer can then use to access and initialize view controllers from the storyboards in a compiler friendly way.

example of the api:
let vc: UIViewController = R.storyboard.Main.helloworld1^ // where the '^' character initialize the controller

I already use this project in a full fledged app, and it work flawlesly for me, I hope others would benefit this script as I did 😊

On the same breath I highly recommend adding ios-res-tool to the list as well, it served to me as a guideline on how to auto generate the api, and it's awesome anyways!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions