n-b/UIView-NibLoading — pull request #8 by matto1990 (2014-10-08 22:13:25+00:00)
Title: Support for IBDesignable and Swift

Hello,

Thanks for the great little library, it's been invaluable with some recent projects.

I've made two small changes to the library with the intention of supporting the new features in Xcode 6 - namely Swift and IBDesignable.

- Added support for the `IBDesignable` annotation by specifying which bundle the NIB should be loaded from. It's a good assumption that the NIBs are located in the same bundle as the class itself.
- Also added support for Swift by making sure the module name is not considered when creating the default NIB name.

Thanks again for the library!

Matt