# TCGBUtility Class Reference

Inherits from | NSObject
Declared in | TCGBUtility.h TCGBUtility.m

## Other Methods

### `+ invokeClassMethodWithClassName:methodName:returnValue:params:`

@example return 값이 BOOL일 경우 void pointer = (void )malloc(1); [TCGBUtility invokeClassMethodWithClassName:@“TCGBGamebase” methodName:@“banInfo” returnValue:pointer params:nil]; bool boolPointer = (bool )pointer; bool value = *boolPointer; BOOL isConnected = (BOOL)value;

`+ (void)invokeClassMethodWithClassName:(NSString *)className methodName:(NSString *)methodName returnValue:(void *)returnValue params:(void *)firstParamPointer, ...`

#### Declared In

`TCGBUtility.h`

## Json Methods

### `+ valueFromJson:forPath:`

jsonPath : ex) @“test1.test2.test3”

`+ (id)valueFromJson:(NSDictionary *)json forPath:(NSString *)jsonPath`

#### Declared In

`TCGBUtility+Json.h`

### `+ valueFromJsonString:forPath:`

last keyname to get value.

`+ (id)valueFromJsonString:(NSString *)jsonString forPath:(NSString *)jsonPath`

#### Declared In

`TCGBUtility+Json.m`

### `+ extractValueFrom:searchString:`

dottedString : ex) @“test1.test2[2].test3 json : @{@"test1”:@{@“test2”:@[1,@{@“test3”:@“value”}]}]}

`+ (id)extractValueFrom:(NSDictionary *)json searchString:(NSString *)dottedString`

#### Declared In

`TCGBUtility+Json.h`

## Bundle Methods

### `+ localizedStringByDisplayLanguageForKey:`

@description 우선순위에 따라서 표시할 문자열을 가져옴

`+ (NSString *)localizedStringByDisplayLanguageForKey:(NSString *)key`

#### Declared In

`TCGBUtility+Bundle.h`