krzyzanowskim / Natalie

Natalie - Storyboard Code Generator (for Swift)
http://blog.krzyzanowskim.com/2015/04/15/natalie-storyboard-code-generator/
MIT License
1.17k stars 74 forks source link

Parse ViewControllers that don't have a segue connected #23

Closed mathiasnagler closed 9 years ago

mathiasnagler commented 9 years ago

Currently, it seems that only ViewControllers that have a Segue connected are parsed completely. Unfortunately, that behavior does not meet all requirements.

I have a Storyboard that has several ViewController that are not connected via Segues and can only be accessed via their Storyboard Identifier. To support this, Natalie should create identifierExtensionStrings for those viewControllers.

I went ahead and changed the script to support this setup.

Additionally, I added two spaces that were missing.

krzyzanowskim commented 9 years ago

@mathiasnagler there seems to be conflict, can you please resolve it before merge ?

mathiasnagler commented 9 years ago

@krzyzanowskim I updated the pull request to resolve the conflict.

krzyzanowskim commented 9 years ago

thanks!