Declared in UITextField+BlocksKit.h

Overview

Block callbacks for UITextField.

Warning: UITextField is only available on a platform with UIKit.

Created by Samuel E. Giddins and contributed to BlocksKit.

Tasks

Properties

bk_didBeginEditingBlock

@property (nonatomic, copy) void ( ^ ) ( UITextField *) bk_didBeginEditingBlock
Discussion
The block that fires after the receiver begins editing

Declared In

UITextField+BlocksKit.h

bk_didEndEditingBlock

@property (nonatomic, copy) void ( ^ ) ( UITextField *) bk_didEndEditingBlock
Discussion
The block that fires after the receiver ends editing

Declared In

UITextField+BlocksKit.h

bk_shouldBeginEditingBlock

@property (nonatomic, copy) BOOL ( ^ ) ( UITextField *) bk_shouldBeginEditingBlock
Discussion
The block that fires before the receiver begins editing

The return value indicates whether the receiver should begin editing

Declared In

UITextField+BlocksKit.h

bk_shouldChangeCharactersInRangeWithReplacementStringBlock

@property (nonatomic, copy) BOOL ( ^ ) ( UITextField *, NSRange , NSString *) bk_shouldChangeCharactersInRangeWithReplacementStringBlock
Discussion
The block that fires when the receiver's text will change

The return value indicates whether the receiver should replace the characters in the given range with the replacement string

Declared In

UITextField+BlocksKit.h

bk_shouldClearBlock

@property (nonatomic, copy) BOOL ( ^ ) ( UITextField *) bk_shouldClearBlock
Discussion
The block that fires when the receiver's clear button is pressed

The return value indicates whether the receiver should clear its contents

Declared In

UITextField+BlocksKit.h

bk_shouldEndEditingBlock

@property (nonatomic, copy) BOOL ( ^ ) ( UITextField *) bk_shouldEndEditingBlock
Discussion
The block that fires before the receiver ends editing

The return value indicates whether the receiver should end editing

Declared In

UITextField+BlocksKit.h

bk_shouldReturnBlock

@property (nonatomic, copy) BOOL ( ^ ) ( UITextField *) bk_shouldReturnBlock
Discussion
The block that fires when the keyboard's return button is pressed and the receiver is the first responder

The return value indicates whether the receiver should return

Declared In

UITextField+BlocksKit.h