Inherits from UIImageView
Declared in BXUContactAvatarImageView.h

Overview

Convenience subclass of UIImageView to show a profile picture for a contact. This class work together with BXUContactSource to know the NSURL of the image to download.

Properties

address

Identity of the contact for this avatar.

@property (strong, nonatomic) Bit6Address *address

Declared In

BXUContactAvatarImageView.h

Class Methods

preparationBlock

Gets the block to perform after the avatar has been downloaded and before it is saved to cache.

+ (nullable BXUContactAvatarPreparationBlock)preparationBlock

Return Value

preparationBlock block to execute before the avatar is saved to cache.

Declared In

BXUContactAvatarImageView.h

setImagePreparationBlock:

Sets a block to perform after the avatar has been downloaded and before it is saved to cache. This allows to make some operations to the avatar image.

+ (void)setImagePreparationBlock:(nullable BXUContactAvatarPreparationBlock)preparationBlock

Parameters

preparationBlock

block to execute before the avatar is saved to cache.

Declared In

BXUContactAvatarImageView.h