FBSDKObjectDecoding.h 720 B

12345678910111213141516171819202122232425262728
  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 <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. /**
  11. Internal type exposed to facilitate transition to Swift.
  12. API Subject to change or removal without warning. Do not use.
  13. @warning INTERNAL - DO NOT USE
  14. */
  15. @protocol FBSDKObjectDecoding <NSObject>
  16. - (nullable id)decodeObjectOfClass:(Class)aClass
  17. forKey:(NSString *)key;
  18. - (nullable id)decodeObjectOfClasses:(NSSet<Class> *)classes
  19. forKey:(NSString *)key;
  20. @end
  21. NS_ASSUME_NONNULL_END