Skip to content

Commit 4e6023f

Browse files
committed
fixed accessibility levels on classes
1 parent 30bcb6d commit 4e6023f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

UIKitExtensions/OwnView.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ public protocol OwnViewProtocol {
1414
var viewName: String { get }
1515
}
1616

17-
public class OwnView: UIView {
17+
open class OwnView: UIView {
1818
var contentView: UIView!
1919

2020
override init(frame: CGRect) {
2121
super.init(frame: frame)
2222
self.loadView()
2323
}
2424

25-
required init(coder: NSCoder) {
25+
required public init(coder: NSCoder) {
2626
super.init(coder: coder)!
2727
self.loadView()
2828
}
2929

30-
public func loadView() {
30+
open func loadView() {
3131
if let conformingProtocolView = self as? OwnViewProtocol {
3232
self.contentView = Bundle.main.loadNibNamed(
3333
conformingProtocolView.viewName,

0 commit comments

Comments
 (0)