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 2b78d77 commit 214822cCopy full SHA for 214822c
CRBoostSwift/Classes/UIKit+CRBoost.swift
@@ -163,7 +163,7 @@ extension UIView {
163
}
164
165
@discardableResult
166
- public class func loadFramNib<T>(nibName: String) -> T where T: UIView {
+ public class func loadFromNib<T>(nibName: String) -> T where T: UIView {
167
let nib = Bundle.main.loadNibNamed(nibName, owner: self, options: [:])
168
let view = nib![0]
169
return view as! T
0 commit comments