SRCarouselView icon indicating copy to clipboard operation
SRCarouselView copied to clipboard

initiating from delegate callback

Open nelzaatari opened this issue 7 years ago • 7 comments

hello,

initiating from the delegate callback displays nothing, could you take a look into that ?

thank you

nelzaatari avatar Jan 08 '17 11:01 nelzaatari

sorry, i do not know what problem you have meet. you can use it according to the demo code, if still not work, please let me know.

guowilling avatar Jan 10 '17 08:01 guowilling

I'm rewriting code to separate the download and cache image's code into a separate class, you'll see it soon.

guowilling avatar Jan 10 '17 08:01 guowilling

hello,

in my app there is a protocol

@protocol HttpClientDelegate <NSObject>

  • (void)InfoGetSucceeded:(NSDictionary *)data; @end

  • (void)InfoGetSucceeded:(NSDictionary *)data { settting the images array for SRInfiniteCarouselView does nothing, it doesnt display or load any images }

but calling it in the viewDidLoad() directly works perfectly,,

this is the issue im currenly facing

thank you

nelzaatari avatar Jan 10 '17 08:01 nelzaatari

does this delegate method called in main queue? you try this

dispatch_async(dispatch_get_main_queue(), ^{        
         //settting the images array for SRInfiniteCarouselView
 });

to see if it works fine.

guowilling avatar Jan 10 '17 11:01 guowilling

im getting nothing even after i add your code, look at the screenshot

simulator screen shot jan 10 2017 6 26 14 pm

nelzaatari avatar Jan 10 '17 15:01 nelzaatari

Sorry i was busy with something, Have your problem solved?

guowilling avatar Feb 16 '17 12:02 guowilling

np, nope still

nelzaatari avatar Feb 18 '17 09:02 nelzaatari