EMPrimitiveValue Class Reference

Inherits from NSObject
Declared in EMPrimitiveValue.h

Overview

Holder class for a primitive with an associate value.

– initWithInputPrimitive:value:

Creates a new holder with a primitive value.

- (id)initWithInputPrimitive:(id<EMInputPrimitive>)primitive value:(id<EMSecureString>)value

Parameters

primitive

The primitive.

value

The value.

Return Value

Initialized new instance of EMPrimitiveValue.

Declared In

EMPrimitiveValue.h

– initWithTextPrimitive:value:

Creates a new holder with a text primitive value.

- (id)initWithTextPrimitive:(id<EMTextPrimitive>)primitive value:(id<EMSecureString>)value

Parameters

primitive

The text primitive.

value

The value.

Return Value

Initialized new instance of EMPrimitiveValue.

Availability

2.1.0

Declared In

EMPrimitiveValue.h

– initWithMessagePrimitive:

Creates a new holder without a value.

- (id)initWithMessagePrimitive:(id<EMMessageDialogPrimitive>)messagePrimitive

Parameters

messagePrimitive

The primitive.

Return Value

Initialized new instance of EMPrimitiveValue.

Declared In

EMPrimitiveValue.h

  primitive

The primitive.

@property (strong, nonatomic, readonly) id<EMPrimitive> primitive

Return Value

The primitive.

Declared In

EMPrimitiveValue.h

  value

The value of the primitive.

@property (strong, nonatomic, readonly) id<EMSecureString> value

Return Value

The value, nil if these is no associated value.

Declared In

EMPrimitiveValue.h