Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: CFSA (Compiler friendly storyboard access) #198

Open
nadav96 opened this issue Mar 7, 2017 · 0 comments
Open

Suggestion: CFSA (Compiler friendly storyboard access) #198

nadav96 opened this issue Mar 7, 2017 · 0 comments

Comments

@nadav96
Copy link

nadav96 commented Mar 7, 2017

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant