Monday 15 August 2011

ios - Unable to use SDWebImage in my TableViewController -



ios - Unable to use SDWebImage in my TableViewController -

good afternoon,

i'm trying utilize sdwebimage in project i'm getting different error , i'm little bit desperated that, hope can help me that.

i tried next tutorial import framework github i'm getting error setimagewithurl displays error: no visible @interface 'uiimage' declares selector 'setimagewithurl:placeholderimage:'

when error disappeared (like magic) have linker problem because had alter linker flags -objc , it's showing error linker.

i tried utilize cocoapods talking comand line , i'm lost that.

what else can try?

edited:

nsurl * imageurl = [nsurl urlwithstring:[[_jsonarray objectatindex:indexpath.row] valueforkey:@"imagen"]]; nsdata * imagedata = [nsdata datawithcontentsofurl:imageurl]; uiimage * carphoto = [uiimage imagewithdata:imagedata]; cell.carimage.image = carphoto; [cell.carimage setimagewithurl:[nsurl urlwithstring:[[_jsonarray objectatindex:indexpath.row] valueforkey:@"imagen"]] placeholderimage:[uiimage imagenamed:@"hisoka.jpg"]];

no visible @interface 'uiimage' declares selector 'setimagewithurl:placeholderimage:'

regards.

in regards #1, need utilize uiimageview not uiimage.

ios xcode uitableview xcode6 sdwebimage

No comments:

Post a Comment