func loadViewFromNib() -> UIView { let bundle = NSBundle(forClass: self.dynamicType) let nib = UINib(nibName: "JobsView", bundle: bundle) let view = nib.instantiateWithOwner(self, options: nil)[0] as! UIView return view }
I am trying to download the JobsView.xib file. However, this gives me poor access without additional information. How can I solve this error?
I associated the class with the file owner
source share