BNBReloadResult

Objective-C

@interface BNBReloadResult : NSObject

/**
 * Effect with updated config applied. Depending on
 * changes it may be the effect already loaded or a new one.
 */
- (nullable BNBEffect *)effect;

/**
 * In case it was possible to apply the new config on the same 
 * effect, this flag will be `true`.
 */
- (BOOL)hotReload;

@end

Swift

class BNBReloadResult : NSObject

Undocumented

  • Effect with updated config applied. Depending on changes it may be the effect already loaded or a new one.

    Declaration

    Objective-C

    - (nullable BNBEffect *)effect;

    Swift

    func effect() -> BNBEffect?
  • In case it was possible to apply the new config on the same effect, this flag will be true.

    Declaration

    Objective-C

    - (BOOL)hotReload;

    Swift

    func hotReload() -> Bool