Declared in NSDictionary+KoboldKit.h

Overview

Kobold Kit extensions

Class Methods

dictionaryWithContentsOfLuaScript:

Runs the given Lua script file and transforms the returned Lua table into a KVC coded NSMutableDictionary. Navigate the table with valueForKeyPath:

+ (NSMutableDictionary *)dictionaryWithContentsOfLuaScript:(NSString *)scriptFile

Parameters

scriptFile

The name of a Lua script file.

Return Value

The Lua table as a dictionary, or nil if there are any errors.

Declared In

NSDictionary+KoboldKit.h