Subclass of UITableViewCell with content loaded from nib

I have a subclass of UITableViewCell and I have a contentView layout at the tip. How to load view in nib as contentView in subclass? What method can I download? DrawRect?

+3
source share
1 answer

See table programming guide from apple.

Take a look at listing 5-5. Loading a cell from a nib file and assigning its contents. He does exactly what you ask.

Regards Yoeri

+3
source

Source: https://habr.com/ru/post/1777173/


All Articles