/image-Loader

Image loader used with NSURLConnection

Primary LanguageObjective-C

Image Loader

Simple Image loader used NSURLConnection in background.

Example

YTImageRequest *imgReq = [YTImageRequest new];
       [imgReq imageWithURL:[NSURL URLWithString:url]
             needSaveInCash:YES
                    success:^(UIImage *bimg, NSError *error)
        {
            [imageView setImage:bimg];
            
            NSLog(@"%@",error);
        }];
       [imgReq release];