uitableview - UITableViewCell inheritance -


i have xib file.

in xib create lot of cell app.

i have same left part in uitableviewcell, right different.

how can inheritance 1 cell cell, if both uitableviewcell load nib (one nib or different)?

enter image description here

thank you

there no concept of inheritance among nib files. option duplicate original file , make necessary changes.

generally speaking, use xibs layout custom cell, set class of cell in xib custom class , go there it's implementation file.

however it's not possible (to knowledge) have base xib inherit from.

i think cleanest approach have separate xib each cell design.on implementation side, define class files, can use inheritance there.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -