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

UIViewController subclasses from separate modules/frameworks breaks generated file #18

Closed
yoiang opened this issue May 1, 2015 · 7 comments
Labels

Comments

@yoiang
Copy link
Contributor

yoiang commented May 1, 2015

If one's .storyboard includes a View Controller subclass defined in a module/framework that must normally be imported the generated file will have to import it as well.

@krzyzanowskim
Copy link
Owner

This was somehow addressed here: 27d58ab

@krzyzanowskim
Copy link
Owner

@yoiang can you please attach sample Storyboard with this issue?

@krzyzanowskim
Copy link
Owner

@yoiang I think it's about how you call natalie.swift script. If you add path to frameworks where .storyboard filse is available it will be used by Natalie

@yoiang
Copy link
Contributor Author

yoiang commented May 28, 2015

@krzyzanowskim Sorry, I don't think I fully understand what you mean by adding the path to the frameworks where the storyboard files are available. Can you provide an example?

Sorry, I haven't been able to take time to make a sample Storyboard myself but I can say that on this project we're using Cocoapods and a VC from a Library in a Cocoapod.

@krzyzanowskim
Copy link
Owner

natalie.swift /path1 /path2 /path3

@yoiang
Copy link
Contributor Author

yoiang commented May 28, 2015

Gotcha, so this would only work for a precompiled framework?

@yoiang yoiang closed this as completed May 29, 2015
@yoiang
Copy link
Contributor Author

yoiang commented May 29, 2015

It appears my issue is a problem with Cocoapods, thanks @krzyzanowskim for the assistance!

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

No branches or pull requests

2 participants