swift - Loading and Smoothness of a TableView -


i have 2 questions regarding uitableview:

  1. how implement activity indicator in tableview while data populate table loading?

  2. 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

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -