From 1e34ad17ce8ebc8de2a2c7a31c456af8591b6493 Mon Sep 17 00:00:00 2001 From: Igor Kislyuk Date: Mon, 7 Aug 2017 15:42:49 +0300 Subject: [PATCH] Fix. Xibname reflection --- LeadKit.podspec | 2 +- Sources/Classes/Views/XibView.swift | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/LeadKit.podspec b/LeadKit.podspec index b1d7b3ca..63b59d06 100644 --- a/LeadKit.podspec +++ b/LeadKit.podspec @@ -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" diff --git a/Sources/Classes/Views/XibView.swift b/Sources/Classes/Views/XibView.swift index 3415ba7b..acdbdb3d 100644 --- a/Sources/Classes/Views/XibView.swift +++ b/Sources/Classes/Views/XibView.swift @@ -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() {