Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Refactoring with Natalie in a project. #110

Open
alexpchin opened this issue Nov 17, 2017 · 4 comments
Open

Refactoring with Natalie in a project. #110

alexpchin opened this issue Nov 17, 2017 · 4 comments

Comments

@alexpchin
Copy link

We have a project that came with Natalie installed and contains a very large storyboard. Our next step is that we want to refactor this main storyboard into a number of smaller storyboards. Do you have any suggestions of how to do this with Natalie installed? At the moment, as I understand it, there are a few issues being caused?

I can't really find any documentation on this and the team members (@gslondon) haven't really used Natalie before? If you could give some suggestions, documentations or blog posts about this that would be really helpful!

@gslondon
Copy link

It would be good to know how to configure Natalie to work with Storyboard References in particular. As it stand now, the project's Storyboards.swift is blank after Natalie executes.

@krzyzanowskim
Copy link
Owner

Natalie doesn't look into the references so far so there is not much to setup. It can parse each storybard independently but the inter-connections are not followed.

@alexpchin
Copy link
Author

alexpchin commented Nov 17, 2017

Hello @krzyzanowskim. I've added a video here of the issue we're facing? https://we.tl/kjnbO6gloN

screen shot 2017-11-17 at 17 14 16

Any pointers to solve this quickly for refactoring a large storyboard as our alternative is to remove Natalie from the project?

@phimage
Copy link
Collaborator

phimage commented Nov 17, 2017

on macOS I have a storyboard reference and no problem (with the last version)
I did not use the refactoring

Maybe rename Storyboard ID to the storyboard name, not the controller one

Maybe If you can give a reduced storyboards with same issue I can execute natalie in debug mode and see what append

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

No branches or pull requests

4 participants