last day (14 days later) » 

12:36 PM
1
A: How to set image path coming from server in uitableviewcell

Shantry this below code, hope this helps u . - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { __block tablecellTableViewCell *cell= [self.activitiesTableView_ dequeueReusableCellWithIdentifier:tableviewidentifier]; if(cell==nil) { ...

 
this helps me but when i scroll up it is loading image again
 
wait i will check ..
 
ok then do let me know
 
@MishalAwan i edited the code check it
@MishalAwan if there is any problem just comment .. :)
 
ok will tell you
it is done but still same issue
 
12:36 PM
wat are u getting in log
ohh wait i forgot add one line, just a second
sorry add this [imagesDictionary setObject:image forKey:row]; in dispatch_sync(dispatch_get_main_queue(), ^{ } block i edited once again check it'
check edited answer
 
ok wait let me check
it is ok but first laod it is taking time on itcould not it be minimized?
 
it will download in other thread don't worry, your UI should be responsive, once the image is loaded it will updated automatically
 
it cant'be minimized ?
yeah yeah but it is taking time while loading
 
it depends on connection speed .. u can use SDWebImage i think it cache images and load even in offline mode ... or else u can put an activity indicator to show while downloading
 
yeah will you please tell for image loadin where i can apply activityindicator ?
 
12:36 PM
u are using custom cell rite
 
yeah i am using it
 
i wil update the answer wait
is it possible to show screen shot of your custom cell i want t know were exactly your image is displaying
 
storyboard screen shot ?
 
ok do one thing just drag and drop a activity indicator view on top of image view and set tag as u are doing for labels and all i will update how to animate in cellforindexpath method
come to chat if possible
 

last day (14 days later) »