FBSDKOperatingSystemVersionComparing.h 887 B

12345678910111213141516171819202122232425262728293031
  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. // An interface for indicating whether the version of the operating system on which the process is executing
  16. // is the same or later than a given version.
  17. NS_SWIFT_NAME(_OperatingSystemVersionComparing)
  18. @protocol FBSDKOperatingSystemVersionComparing
  19. // UNCRUSTIFY_FORMAT_OFF
  20. - (BOOL)fb_isOperatingSystemAtLeastVersion:(NSOperatingSystemVersion)version
  21. NS_SWIFT_NAME(fb_isOperatingSystemAtLeast(_:));
  22. // UNCRUSTIFY_FORMAT_ON
  23. @end
  24. NS_ASSUME_NONNULL_END