summaryrefslogtreecommitdiff
path: root/platform/ios/vendor/Fabric/Fabric+FABKits.h
blob: bb576ab06109168c415c7c50cc1b4fb93413b657 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//
//  Fabric+FABKits.h
//
//  Copyright (c) 2015 Twitter. All rights reserved.
//

#import "Fabric.h"

@protocol FABKit;
// Use this category for methods that kits can call on Fabric.
@interface Fabric (FABKits)

/**
 *  Returns a dictionary containing the kit configuration info for the provided kit.
 *  The configuration information is parsed from the application's Info.plist. This
 *  method is primarily intended to be used by kits to retrieve their configuration.
 *
 *  @param kitClass The class of the kit whose configuration should be returned.
 *  It should conform to the FABKit protocol.
 *
 *  @return A dictionary containing kit specific configuration information or nil if none exists.
 */
+ (fab_nonnull NSDictionary *)configurationDictionaryForKitClass:(fab_nonnull Class)kitClass;

@end