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

Add XIB Parser and context provider #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Reflejo
Copy link

@Reflejo Reflejo commented May 21, 2017

This is a proposal to add XIB parsers to add support on SwiftGen for parsing XIB files. This is particularly useful to add some compiler guarantees around View Controller creation. UIKit supports creating view controllers from the same name as the xib file but since this happens on runtime, it'd be nice to support this from swiftgen.

I have a commit[0] ready for SwiftGen if this direction gets approved.

[0] Reflejo/SwiftGen@b4c45e0

}

return [
"xibs": xibsMap,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the lint error, comments are off

This will allow SwiftGen to parse XIB files and therefore type-safe view
controller creation based on XIB files.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants