doc
 All Classes Functions Variables Properties
Public Member Functions | Protected Attributes | Properties
EMImageView Class Reference

List of all members.

Public Member Functions

(void) - unsetImage
(void) - stopLoading
(void) - reload
(void) - imageViewDidStartLoad
(void) - imageViewDidLoadImage:
(void) - imageViewDidFailLoadWithError:

Protected Attributes

id< EMImageViewDelegate_delegate
TTURLRequest * _request
NSString * _urlPath
UIImage * _defaultImage

Properties

NSString * urlPath
UIImage * defaultImage
BOOL isLoading
BOOL isLoaded
id< EMImageViewDelegatedelegate

Member Function Documentation

- (void) imageViewDidFailLoadWithError: (NSError*)  error

Called when the image failed to load asynchronously. Overridable method.

- (void) imageViewDidLoadImage: (UIImage*)  image

Called when the image finishes loading asynchronously. Overridable method.

Called when the image begins loading asynchronously. Overridable method.

- (void) stopLoading

Cancel this image views' active asynchronous requests.

- (void) unsetImage

Cancel any pending request, remove the image, and redraw the view.


Property Documentation

- (UIImage*) defaultImage [read, write, retain]

The default image that is displayed until the image has been downloaded. If no urlPath is specified, this image will be displayed indefinitely.

- (id<EMImageViewDelegate>) delegate [read, write, assign]

A delegate that notifies you when the image has started and finished loading.

- (BOOL) isLoaded [read, assign]

Has the image been successfully loaded?

- (BOOL) isLoading [read, assign]

Is an asynchronous request currently active?

- (NSString*) urlPath [read, write, copy]

The path of the image. This may be a web path (http://path/to/image.gif) or a local bundle path (bundle://path/to/image.png).


The documentation for this class was generated from the following files: