Skip to content

Commit 3ca9d7a

Browse files
committed
Makes public (loadFromIB)
1 parent a890a79 commit 3ca9d7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/IBKit/InterfaceBuilder.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public protocol InterfaceBuilder {
1818
extension InterfaceBuilder where Self: UIView {
1919

2020
/// Returns a newly initialized view with the InterfaceBuilder's body.
21-
static func loadFromIB() -> Self {
21+
static public func loadFromIB() -> Self {
2222
let this = Self.init()
2323
this.build()
2424
return this
@@ -37,7 +37,7 @@ extension InterfaceBuilder where Self: UIView {
3737
extension InterfaceBuilder where Self: UIViewController {
3838

3939
/// Returns a newly initialized view controller with the InterfaceBuilder's body.
40-
static func loadFromIB() -> Self {
40+
static public func loadFromIB() -> Self {
4141
let this = Self.init()
4242
this.build()
4343
return this

0 commit comments

Comments
 (0)