Merge pull request #78 from TouchInstinct/fix/xibname
Fix. Xibname reflection
This commit is contained in:
commit
73af67cc20
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue