Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 842fc540b1
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 31 lines (22 sloc) 0.642 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
//
// CLCGImageView.h
// Goodreads
// Created by Ettore Pasquini on 6/4/12.
// Copyright (c) 2012 Goodreads. All rights reserved.
//

#import "CLCGImageLoader.h"

@class ASIHTTPRequest;


@interface CLCGImageView : UIImageView <CLCGImageLoaderDelegate>
{
  ASIHTTPRequest *mReq;
  
  // target and action for "on tap" event
  id mTapTarget;
  SEL mTapAction;
}

-(void)loadImageForURL:(NSString*)url retinaURL:(NSString*)retinaurl;

/**
* Adds an action to on touch-up event. The action signature is the standard:
* -(void)theAction:(id)sender;
*/
-(void)addTarget:(id)target onTapAction:(SEL)action;

@end
Something went wrong with that request. Please try again.