Inherits from NSObject
Declared in KKClassVarSetter.h

Overview

INTERNAL USE! Class that represents an ivar in order to set and get an ivar’s value.

Tasks

Properties

encoding

The @encoding of the ivar. Not all ObjC encodings are supported, mainly integral data types plus the point, size and rect structures.

@property (nonatomic, copy) NSString *encoding

Declared In

KKClassVarSetter.h

ivar

The Objective-C Ivar object.

@property (atomic) Ivar ivar

Declared In

KKClassVarSetter.h

name

The name of the ivar.

@property (atomic, copy) NSString *name

Declared In

KKClassVarSetter.h

type

The type of the ivar which is deducted from the encoding.

@property (atomic, readonly) KKIvarType type

Declared In

KKClassVarSetter.h

Instance Methods

setIvarInTarget:value:

Set the ivar in the given target to the value.

- (void)setIvarInTarget:(id)target value:(id)value

Parameters

target

The target object for the ivar.

value

The value to assign to the ivar.

Declared In

KKClassVarSetter.h