swift ios use image or UIView to display dummy placeholder until data has loaded -
if click on item in tableview new vc open.
but want display dummy placeholder , loading indicator disappears once data has been fetched server.
but should use , image placeholder or should style uiview? dont know whats best memorywise
then make fade away once data has been fetched api.
it choice. know viewcontroller lifecycle includes methods jobs these. wievwillappear, viewdisappeared, viewshouldappear... if want add animation, may style view show animation facebook.
Comments
Post a Comment