6
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
}

Im trying to load my JobsView.xib file. However it is giving me bad access without any more information. How can I solve this error?

I've linked the class over from the File's Owner

Forge
  • 6,538
  • 6
  • 44
  • 64
Exceptions
  • 1,174
  • 2
  • 9
  • 28

0 Answers0