cocoa touch - UITableViewCell as subview? -


i want reuse views , code

is ok add uitableviewcell subview common view , not in uitableview?

is idea?

i don't think it's idea. uitableviewcell made serve cell , nothing else. uibutton made clickable button. might think "well button looks good, shouldn't reuse subview?". no, shouldn't that. button button, cell cell , on. if want reuse code should provide kind of custom uiview , let subview cell or want


Comments

Popular posts from this blog

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -