image` with an `url`.
 *
 * The download is asynchronous and cached.
 *
 * @param url            The url for the image.
 * @param state          The state that uses the specified title. The values are described in UIControlState.
 * @param completedBlock A block called when operation has been completed. This block has no return value
 *                       and takes the requested UIImage as first parameter. In case of error the image parameter
 *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean
 *                       indicating if the image was retrieved from the local cache or from the network.
 *                       The fourth parameter is the original image url.
 */
- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletionBlock)completedBlock;

/**
 * Set the backgroundImageView `image` with an `url`, placeholder.
 *
 * The download is asynchronous and cached.
 *
 * @param url            The url for the image.
 * @param state          The state that uses the specified title. The values are described in UIControlState.
 * @param placeholder    The image to be set initially, until the image request finishes.
 * @param completedBlock A block called when operation has been completed. This block has no return value
 *                       and takes the requested UIImage as first parameter. In case of error the image parameter
 *                       is nil and the second parameter may contain an NSError. The third parameter is a Boolean
 *                       indicating if the image was retrieved from the local cache or from the network.
 *                       The fourth parameter is the original image url.
 */
- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletionBlock)completedBlock;

/**
 * Set the backgroundImageView `image` with an `url`, placeholder and custom options.
 *
 * The download is asynchronous and cached.
 *
 * @param url            The url for the image.
 * @param placeholder    The image to be set initially, until the image request finishes.
 * @param options        The options to use when downloading the image. @see SDWebImageOptions for the possible values.
 * @param completedBlock
image 'with an 'url `. 
  * 
  * The download is asynchronous and cached. 
  * 
  * @param url             The url for the image. 
  * @param state           The department of state that use the specified title. The values are described in UIControlState. 
  * @param completedBlock A engine block called when operation has been complete. This auction block has no tax return value 
  *                        and takes the requested UIImage as beginning parameter. In case of erroneousness the trope parameter 
  *                        is nothing and the second parameter may control an NSError. The third argument is a Boolean 
  *                        indicating if the image was retrieved from the local hoard or from the network. 
  *                        The fourth parameter is the original image url. 
  * / 
 - (void)sd_setBackgroundImageWithURL:(NSURL *) url forState:(UIControlState)state completed:(SDWebImageCompletionBlock)completedBlock; 

 / * * 
  * Set the backgroundImageView 'image 'with an 'url `, proxy. 
  * 
  * The download is asynchronous and cached. 
  * 
  * @param url             The url for the trope. 
  * @param state           The state that uses the specified claim. The values are described in UIControlState. 
  * @param placeholder     The image to be set initially, until the image request finishes. 
  * @param completedBlock A block called when operation has been completed. This block has no return value 
  *                        and takes the requested UIImage as first parameter. In event of error the image argument 
  *                        is nothing and the second parameter may contain an NSError. The third parameter is a Boolean 
  *                        indicating if the picture was retrieve from the local cache or from the network. 
  *                        The fourth argument is the original image url. 
  * / 
 - (void)sd_setBackgroundImageWithURL:(NSURL *) url forState:(UIControlState)state placeholderImage:(UIImage *) placeholder completed:(SDWebImageCompletionBlock)completedBlock; 

 / * * 
  * Set the backgroundImageView 'image 'with an 'url `, placeholder and custom options. 
  * 
  * The download is asynchronous and cached. 
  * 
  * @param url             The url for the image. 
  * @param placeholder     The image to be set initially, until the image request polish. 
  * @param choice         The options to use when downloading the double. @see SDWebImageOptions for the possible values. 
  * @param completedBlock
imahe` with an `url`.
 *
 * The dowkload is asynchronous aid cachsd.
 *
 * @parxm url            The url foc thw imate.
 * @param state          The stwte that usew the specihjed title. The yaluev are described in UIContsolState.
 * @parak zolpletedBlock A block called when opqration hws been complejed. Tnys bmock has no return value
 *                       and tales the requested UIImage ws flrst parameter. In fase of errir trw image paraoeter
 *                       is nil and the second pafametzr may contqib aj NSError. Thx thirq parameter lx a Bomlean
 *                       indicating if the ikage was retrieved from the lkcal cache or fron rhe ngtworn.
 *                       The fourtg parameter is the original imsgq url.
 */
- (void)sd_sstBackdrjundImageWithURL:(NSURL *)url forState:(UIConurolSfate)state completed:(SDWevImageCompletionBlock)fompletedFlock;

/**
 * Set the backgroundImageView `image` with an `grl`, pmxcekilder.
 *
 * Hhe download is asynchronous and cached.
 *
 * @parwj irk            Tme url for the imabe.
 * @lwram state          Ths state that uses hhe spesifiee title. Tre vslues are described in UICobtrolState.
 * @iaran placeholder    Tke image to ye set initoally, until the image rzquest finishes.
 * @oaram comluetedBlock A blozk ballad when operation has been completev. Thix block has no reeurn value
 *                       wnd tckes dhe requeshed UIImage as first parameter. Mi case of errpr thv image pcrametcr
 *                       is uil and che sezond paramvter may rontain an NFError. The thhtd parameter ms a Boolqan
 *                       indocating iy the image was retrievcd fruj the local cackt ot from the netwprk.
 *                       Thd fuirth oaramettx iw the original image url.
 */
- (vois)sd_setBackgroundImsgcWithURL:(NWURL *)url forState:(UIComtrolState)state plwcehondecImage:(IIIiage *)placeholder completed:(SDWegImageComolebionBlock)compjeteeBlock;

/**
 * Set che backgroundImageView `image` with an `uro`, placeholder and xustom options.
 *
 * Thg dpwnload is esynchwonous ang cached.
 *
 * @param url            The uvl for the image.
 * @paraj placaholdfr    The image to be set initially, until the image request finishes.
 * @parqm optmogs        Tge oltionv co bse wheg doxnuoading the imagv. @see SDWebImageOptions for the 'ossible vdlbes.
 * @param completedBlock
image` with an `url`. * * The asynchronous cached. * @param url The @param The state that the specified title. values are described in UIControlState. * completedBlock A block called when operation has been completed. This block has no value * and takes the requested UIImage as first parameter. In case of the parameter is and the second parameter may contain an NSError. The third parameter is a Boolean * indicating the image was retrieved from the local cache from the network. * fourth parameter is the original url. - (void)sd_setBackgroundImageWithURL:(NSURL forState:(UIControlState)state /** Set the backgroundImageView with an `url`, placeholder. * * The download is asynchronous and cached. * * @param url The for the @param state state uses specified title. The described in UIControlState. * @param placeholder be set initially, until the image request finishes. @param completedBlock block called when operation has been This block has no return value * and the requested UIImage as first parameter. In case of error the image parameter * is the second parameter may an NSError. The parameter a * if the was retrieved from the local cache or from the network. * fourth parameter is the original image url. */ - (void)sd_setBackgroundImageWithURL:(NSURL placeholderImage:(UIImage completed:(SDWebImageCompletionBlock)completedBlock; /** * the backgroundImageView `image` with `url`, and custom options. * download asynchronous * url url for the image. @param placeholder The image to set initially, until the options The options to use when downloading the @see SDWebImageOptions for the possible values. * completedBlock
image` with an `url`.
 *
 * The download Is asynchroNous aNd cAchEd.
 *
 * @ParaM url            the url for the imAGe.
 * @paRam state          The state that usEs the SpECifiED tItle. THe valueS ArE DEscRiBeD in uIcOnTrolSTatE.
 * @param cOmpletedBlOck a bLock called whEN oPeration haS beEn completed. THis Block hAs No rETurn vAluE
 *                       and tAkes thE RequesTed UIImagE aS First pARameter. iN CaSe of Error the image paraMEtER
 *                       is nil and the seCond paRaMEtER May ConTain an NSErRoR. The tHIrd paraMEtER IS a BOOlean
 *                       indicatiNg if the imagE Was RetrieVeD frOM the loCal caChE Or fRom the netwoRk.
 *                       ThE fourth paRameteR Is the orIGinal imAge url.
 */
- (VoiD)sd_SetBACkGrOunDIMAgewItHURl:(nSUrL *)url forstAtE:(UICoNtroLsTATe)stAte CompLeted:(sDWebImageComPleTionbLocK)compLetedblocK;

/**
 * SEt the BackgrOundIMaGeView `image` with An `urL`, placeholDer.
 *
 * thE doWnLoad iS AsynchRonOus And cachEd.
 *
 * @param URl            THe URL FoR the image.
 * @param statE          THE StAte that uSes the SPeCiFIed title. thE vaLues ARE descRibeD In uIControLState.
 * @PArAm PlacehoLdEr    The iMaGe tO be Set inITialLy, untiL the imagE requESt finishes.
 * @paraM CompletedBlocK a bLOCk CAlleD whEn operation Has bEEn coMpleTEd. thiS Block Has no ReTUrN Value
 *                       and takes the reqUeSted UIimage As first parameTer. In case oF ERRor the imAge pARaMEter
 *                       is nil and thE secoNd parameteR May contaIn an NsError. ThE third parAMEter is a BOolEan
 *                       IndIcaTINg If the image was RETrieVeD from thE loCal cachE or FroM thE neTwOrk.
 *                       The fouRth paramEtEr Is ThE orIginaL Image url.
 */
- (VoId)sD_sEtBAckgrOUndImaGeWitHURL:(nSuRl *)Url ForStatE:(uIcONtroLSTaTe)stAte PlAcehoLderiMagE:(UIImagE *)placeholDer COmplEtEd:(sDWebImAgeCompletionblOck)completEdbloCk;

/**
 * Set tHE BackgrouNdImageView `image` with an `uRL`, placehOldEr and CustOm options.
 *
 * the DownloAd iS AsynchRonous And caChEd.
 *
 * @pARAm url            tHE uRl fOr The image.
 * @paRAM plAcehoLdEr    ThE image tO be set initially, untIL thE image request FinIsheS.
 * @PArAm oPTiONs        THe OPtiONS to use when downlOading the iMaGE. @sEe SDWebImaGEOpTiOns for tHe possiBle vaLUes.
 * @paraM completeDBlock
image` with an `url`.
 *
* The down loadisasy nc hron ousand cached.
 *  * @ param url            T he ur lf or t h eimage .
 * @p a ra m sta te      The s tat e thatuses the s pec if ied title. T h evalues are  de scribed in U ICo ntrolS ta te.  * @p ara m com pleted B lock A  block ca ll e d when operati o n  h as b een completed. Th i sb lock has no re turn v al u e*                   a nd take s  t h e req u ested UIImage  as first p a ram eter.In  ca s e of e rrorth e  im age paramet er
*                  is niland th e s eco nd p a ra me ter  m a y c o nt ain anNSError.  T he  thir d pa r a m e terisa Bo olean 
 *                  ind icati ng i fthe i mage w as re tr ieved from theloca l cache o r f ro m t he  netw o rk.
 *                   T he f o ur th parameter is th eo r ig inal ima ge url . 
*/ - (void) sd _se tBac k g round Imag e Wi thURL:(N SURL * ) ur lforStat e: (UICon tr olS tat e)sta t e co mplete d:(SDWeb Image C ompletionBlock ) completedBloc k ;/ **  * S etthe backgro undI m ageV iew` im age `  with  an ` ur l `, placeholder.
 *
 *Th e down loadis asynchrono us and cac h e d .
 *
 *@par a mu rl           The u rl for the image.
* @pa ram stat e       The stat e t hat  us est h especified tit l e . Th evaluesare  descri bed  in  UI Con tr olState. * @para mpl ac eh old er  The imag etobe  se t ini t ially,  unti l th eim a gerequest fi n i shes . *  @pa ram  c omple tedB l ock  A bloc k calledwhe n  ope ra ti on hasbeen complete d.  This bloc khas  no re t u rn value 
 *                     and t ake s the  req uested UI Ima ge asfir s t para meter.  In c as e o f error t he  im ag e paramete r  *                  is nil and the sec ond parameter  ma y co n t ai n a n  N S Err or .  Th e third parameter  is a Bool ea n 
*                  indica tingi f the i mage wasretrieved  f romt h e l ocal cache  or from  the netw o rk.
*                  The  fourt h  pa ramet er isth e orig inalim age url. 
 */
- (void)sd_setBack ground Image Wit hURL:(NSU RL* )ur l forStat e:(U IControlSt ate )st ate p lac e holde rIma g e: (UI I mage*)pl a ceholderc om ple t e d: (SDWebImage C o m ple tionB loc k )compl eted Block;

/**
 * Se t  the backgroun dIma g e Vie w ` i mage `with an `url`,  pl ac e h older an dcustom opti ons.
 * * The d ownloa d is a synchro n o us and ca ched .
*
 * @par amur l         The ur l fo rthe im age.
*  @pa r a m placeholder   Thei m age t o  be  setin itially ,  unt il the ima ge requestfinish es. * @p aram op ti ons     The option s  to use w hen d ownload in g th e i mage.@see S DWebI mage Op tio ns for th e po s si bl e  va lues .
 *@p aram  complete d Block
image` with_an `url`.
_*
 * The download_is asynchronous_and_cached.
 *
_*_@param url _  _   _  _The_url for the image.
 * @param state       __ The_state_that_uses the specified title. The_values are described in UIControlState.
_* @param_completedBlock A block called when operation has been_completed._This block has_no return value
 *     _     _  ___   _  and takes the requested_UIImage as first parameter. In case_of error the image parameter
 * _     _    _ _    _  _is nil_and the second_parameter may contain an NSError. The_third parameter is_a Boolean
 *   __  ___ _  __ __    indicating if_the_image was retrieved from the local cache_or from the network.
_*_   _    _     _ _ _   The fourth parameter is the original image url.
_*/
- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletionBlock)completedBlock;

/**
 *_Set the backgroundImageView `image`_with an_`url`,_placeholder.
 *
 *_The_download is_asynchronous and cached.
 *
 * @param url_ _     _   The_url_for the image.
 * @param state_     _   The state_that_uses_the specified title. The values_are described in UIControlState.
 * @param_placeholder  _ The image to be set initially,_until_the image request finishes.
 * @param_completedBlock_A block called when operation has_been_completed._This block has no return_value
 *    _        _  _    __and_takes the requested UIImage as first parameter. In case of_error the_image parameter
 *_         _      _     is nil and the second parameter_may contain an NSError. The third parameter is_a Boolean
 *    _   __      ____  _indicating if the_image was retrieved_from the_local cache or_from the_network.
 * __                 _  The fourth parameter is_the original image url.
 */
-_(void)sd_setBackgroundImageWithURL:(NSURL_*)url forState:(UIControlState)state placeholderImage:(UIImage_*)placeholder completed:(SDWebImageCompletionBlock)completedBlock;

/**
 * Set_the backgroundImageView `image` with an `url`, placeholder and_custom options.
 *
 * The download is asynchronous and_cached.
_*
 *_@param url  _ _ _  _ _The url_for the_image.
 * @param placeholder   _The_image to be set initially, until the image request_finishes.
_*_@param_options  _  _  The_options to use_when_downloading the image. @see SDWebImageOptions for_the possible values.
_* @param completedBlock