We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 638cdab commit 902e090Copy full SHA for 902e090
UIKitExtensions.podspec
@@ -8,7 +8,7 @@
8
9
Pod::Spec.new do |s|
10
s.name = 'UIKitExtensions'
11
- s.version = '0.2.4'
+ s.version = '0.2.5'
12
s.summary = 'UIKitExtensions adds usefull features to UIKit classes.'
13
14
# This description is used to generate tags and improve search results.
UIKitExtensions/OwnView.swift
@@ -29,7 +29,8 @@ open class OwnView: UIView {
29
30
open func loadView() {
31
if let conformingProtocolView = self as? OwnViewProtocol {
32
- self.contentView = Bundle.main.loadNibNamed(
+ let bundle = Bundle(for: self.classForCoder)
33
+ self.contentView = bundle.loadNibNamed(
34
conformingProtocolView.viewName,
35
owner: self,
36
options: nil
0 commit comments