LHUserPropertyProtocol Protocol Reference

LHUserPropertyProtocol.h

Overview

LevelHelper 2 nodes that can have user properties conform to this protocol.

Class Methods

customClassInstanceWithNode:

+ (id)customClassInstanceWithNode:(id)node
Parameters
node

The node on which this class object is created.

Return Value

A valid class of the required type.

Discussion

The designeted initialized for the user property declared class.

Declared In
LHUserPropertyProtocol.h

Instance Methods

className

- (NSString *)className
Discussion

The name of the user declared class.

Declared In
LHUserPropertyProtocol.h

node

- (id)node
Discussion

The node on which this user declared class was set.

Declared In
LHUserPropertyProtocol.h

setPropertiesFromDictionary:

- (void)setPropertiesFromDictionary:(NSDictionary *)dictionary
Parameters
dictionary

The information that needs to be loaded.

Discussion

This loads all the user properties member variables as they were set inside LevelHelper.

Declared In
LHUserPropertyProtocol.h
Last updated: 2015-2-12

Back to top

Copyright © VLADU BOGDAN DANIEL PFA.