Merge pull request #78 from TouchInstinct/fix/xibname

Fix. Xibname reflection
This commit is contained in:
Nikolai Ashanin 2017-08-07 15:46:19 +03:00 committed by GitHub
commit 73af67cc20
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "LeadKit"
s.version = "0.5.3"
s.version = "0.5.4"
s.summary = "iOS framework with a bunch of tools for rapid development"
s.homepage = "https://github.com/TouchInstinct/LeadKit"
s.license = "Apache License, Version 2.0"

View File

@ -27,7 +27,8 @@ open class XibView: UIView {
/// Nib name used to instantiate inner view
open var innerViewNibName: String {
return type(of: self).xibName
// Be very carefully when you're intending to change this line
return className(of: self)
}
public convenience init() {