FBSDKUnarchiverProviding.h 710 B

123456789101112131415161718192021222324252627
  1. /*
  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. #import <FBSDKCoreKit/FBSDKObjectDecoding.h>
  9. #import <Foundation/Foundation.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. /**
  12. Internal type exposed to facilitate transition to Swift.
  13. API Subject to change or removal without warning. Do not use.
  14. @warning INTERNAL - DO NOT USE
  15. */
  16. @protocol FBSDKUnarchiverProviding <NSObject>
  17. + (nonnull id<FBSDKObjectDecoding>)createSecureUnarchiverFor:(NSData *)data;
  18. + (nonnull id<FBSDKObjectDecoding>)createInsecureUnarchiverFor:(NSData *)data;
  19. @end
  20. NS_ASSUME_NONNULL_END