-
Notifications
You must be signed in to change notification settings - Fork 736
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
Add View Controller placeholders support #61
Comments
Care to make a PR? Should be pretty easy to fix the StoryboardParser to detect such nodes I think. |
I guess so, but I'm pretty busy in 2 projects. I'll probably make a PR later this week. |
Fine by me, I'm busy too so you'll probably beat me to it anyway 😉 👍 |
Hello, when are you going to merge or reject my PR? |
Sorry I've been super super busy this month both at work and in personal life and I admit I totally forgot your PR, so thanks for reminding me! I commented on it as I wish that code to be tested before merging anything. Regarding the debugger, I'm not sure I understand your question. You mean when you try to run the SwiftGen.xcodeproj from Xcode, right? If so, yeah that's an issue with Xcode which is not yet really fit for Command Line projects (= that produce a single binary without a bundle) written in Swift (as projects written in Swift depend on Swift dynamic libs and the Swift dylibs are normally copied by Xcode in the app bundle — inside |
Hello, |
Great! Thanks! |
XCode 7 and iOS 9 supports View Controller placeholders in your storyboards. But swiftgen doesn't support them.
Generated enum looks like this:
enum ServicePromo : String, StoryboardScene {
case nextSegue = "NextSegue"
static func nextSegueViewController() -> UIViewControllerPlaceholder
{
return ServicePromo.nextSegue.viewController() as! UIViewControllerPlaceholder
}
}
The text was updated successfully, but these errors were encountered: