dimanche 7 août 2016
Could not load NIB in bundle from within cocoapods framework during development
This is my directory structure:
And this is how I load nib from within BSSelectableView:
let nib = UINib(nibName: "BSSelectableTableViewCell", bundle: nil)
tableView.registerNib(nib, forCellReuseIdentifier: BSSelectableTableViewCellIdentifier)
and error is following:
2016-06-23 08:21:26.149 BSSelectableView_Example[12909:298370] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle (loaded)' with name 'BSSelectableTableViewCell''
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire