iphone - Using a custom UITableView without linking in IB -


i have custom uitableview class creating shadow effects on of uitableviews. possible incorporate class uitableviewcontroller(s) without creating nib file each table view controller? there way link custom uitableview other in ib?

using uitableviewcontroller, set delegate , datasource on custom uitableview controller , set custom tableview instance uitableviewcontroller's tableview property.

 [instanceofmycustomuitableview setdelegate:self];   [instanceofmycustomuitableview setdatasource:self];   [self settableview:instanceofmycustomuitableview]; 

self being instance of uitableviewcontroller


Comments

Popular posts from this blog

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -

jtree - comparing two TreeNode (or DefaultMutableTreeNode) objects in Java Comparator -