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 a890a79 commit 3ca9d7aCopy full SHA for 3ca9d7a
Sources/IBKit/InterfaceBuilder.swift
@@ -18,7 +18,7 @@ public protocol InterfaceBuilder {
18
extension InterfaceBuilder where Self: UIView {
19
20
/// Returns a newly initialized view with the InterfaceBuilder's body.
21
- static func loadFromIB() -> Self {
+ static public func loadFromIB() -> Self {
22
let this = Self.init()
23
this.build()
24
return this
@@ -37,7 +37,7 @@ extension InterfaceBuilder where Self: UIView {
37
extension InterfaceBuilder where Self: UIViewController {
38
39
/// Returns a newly initialized view controller with the InterfaceBuilder's body.
40
41
42
43
0 commit comments