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 30bcb6d commit 4e6023fCopy full SHA for 4e6023f
UIKitExtensions/OwnView.swift
@@ -14,20 +14,20 @@ public protocol OwnViewProtocol {
14
var viewName: String { get }
15
}
16
17
-public class OwnView: UIView {
+open class OwnView: UIView {
18
var contentView: UIView!
19
20
override init(frame: CGRect) {
21
super.init(frame: frame)
22
self.loadView()
23
24
25
- required init(coder: NSCoder) {
+ required public init(coder: NSCoder) {
26
super.init(coder: coder)!
27
28
29
30
- public func loadView() {
+ open func loadView() {
31
if let conformingProtocolView = self as? OwnViewProtocol {
32
self.contentView = Bundle.main.loadNibNamed(
33
conformingProtocolView.viewName,
0 commit comments