Skip to content

Commit 214822c

Browse files
author
Eric Wu
committed
关键字错误
1 parent 2b78d77 commit 214822c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CRBoostSwift/Classes/UIKit+CRBoost.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ extension UIView {
163163
}
164164

165165
@discardableResult
166-
public class func loadFramNib<T>(nibName: String) -> T where T: UIView {
166+
public class func loadFromNib<T>(nibName: String) -> T where T: UIView {
167167
let nib = Bundle.main.loadNibNamed(nibName, owner: self, options: [:])
168168
let view = nib![0]
169169
return view as! T

0 commit comments

Comments
 (0)