-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to dequeue NibOwnerLoadable? #46
Comments
The way UITableView and UICollectionView work in CocoaTouch, as designed by Apple, impose you that all your custom cells designed in dedicated XIBs have an empty File's Owner and have their cell's contentView as the root of the XIB. So this configuration corresponds to the NibLoadable
So it's suitable for UITableViewCells & UICollectionViewCells, or for custom views you plan to create by code NibOwnerLoadable
So it's only suitable for views that you either:
But in both case with |
Thanks for the crystal clear explanation. I think this writeup should be put in somewhere in the documents, for teaching people how it works behind the scenes. It is super useful (at least for rookie like me). |
Thank you for explanation! |
If not, what is the recommended way to use NibOwnerLoadable on a cell(table/collection) class.
The text was updated successfully, but these errors were encountered: