swift - Loading and Smoothness of a TableView -
i have 2 questions regarding uitableview:
how implement activity indicator in tableview while data populate table loading?
while scrolling through data loaded in tableview, labels , images seem "jumpy" trying fill cell's labels , image view information. how fix scrolling labels , images "jumpy" try fit in cell?
note: understand trying convey, think app instagram , how show activity indicator while peoples post load , how scroll down through posts of cells not jumpy.
i suggest use sdwebimage cache images. labels don't take lot of time, images do. if not caching, every time scroll, loads image again , again. activity indicator, suggest use completion handler. mean let know upload complete, can start activity indicator click upload , stop when reach completion handler. hope helps. let me know if have further questions.
Comments
Post a Comment