lpw
2023-06-03 e0ec4235cc7b8d05ec1aaa414ec2d2cac798d74e
commit | author | age
e0ec42 1 /*
L 2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  * All rights reserved.
4  *
5  * This source code is licensed under the license found in the
6  * LICENSE file in the root directory of this source tree.
7  */
8
9 #import <FBSDKCoreKit_Basics/FBSDKLinking.h>
10
11 #import <Foundation/Foundation.h>
12
13 NS_ASSUME_NONNULL_BEGIN
14
15 /// An internal protocol used for accessing bundles
16 NS_SWIFT_NAME(InfoDictionaryProviding)
17 @protocol FBSDKInfoDictionaryProviding
18
19 @property (nullable, readonly, copy) NSDictionary<NSString *, id> *fb_infoDictionary;
20 @property (nullable, readonly, copy) NSString *fb_bundleIdentifier;
21
22 - (nullable id)fb_objectForInfoDictionaryKey:(NSString *)key
23 NS_SWIFT_NAME(fb_object(forInfoDictionaryKey:));
24
25 @end
26
27 FB_LINK_CATEGORY_INTERFACE(NSBundle, InfoDictionaryProviding)
28 @interface NSBundle (InfoDictionaryProviding) <FBSDKInfoDictionaryProviding>
29
30 @end
31
32 NS_ASSUME_NONNULL_END