Inherits from UIImageView
Declared in C2TapImageView.h

Overview

Implements an UIImageView subclass with support for tap and long press gesture.

The C2TabImageView has usually round corners with corner radius 5 and has also support for a badge label.

Properties

badgeValue

Badge Value.

@property (nonatomic, strong) NSString *badgeValue

Declared In

C2TapImageView.h

cornerRadius

Corner Radius of the image view.

@property (nonatomic) CGFloat cornerRadius

Declared In

C2TapImageView.h

Instance Methods

dispose

Releases all Action Blocks.

- (void)dispose

Declared In

C2TapImageView.h

setLongpressAction:

Sets the Longpress-Action Block.

- (void)setLongpressAction:(id)longpressAction

Parameters

longpressAction
  • The Longpress Action

Declared In

C2TapImageView.h

setTapAction:

Sets the Tap-Action Block.

- (void)setTapAction:(id)tapAction

Parameters

tapAction
  • The Tap Action

Declared In

C2TapImageView.h