Bolts.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * Copyright (c) 2014, Facebook, Inc.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the BSD-style license found in the
  6. * LICENSE file in the root directory of this source tree. An additional grant
  7. * of patent rights can be found in the PATENTS file in the same directory.
  8. *
  9. */
  10. #import <Bolts/BoltsVersion.h>
  11. #import <Bolts/BFCancellationToken.h>
  12. #import <Bolts/BFCancellationTokenRegistration.h>
  13. #import <Bolts/BFCancellationTokenSource.h>
  14. #import <Bolts/BFDefines.h>
  15. #import <Bolts/BFExecutor.h>
  16. #import <Bolts/BFTask.h>
  17. #import <Bolts/BFTaskCompletionSource.h>
  18. #if __has_include(<Bolts/BFAppLink.h>) && TARGET_OS_IPHONE && !TARGET_OS_WATCH && !TARGET_OS_TV
  19. #import <Bolts/BFAppLinkNavigation.h>
  20. #import <Bolts/BFAppLink.h>
  21. #import <Bolts/BFAppLinkResolving.h>
  22. #import <Bolts/BFAppLinkReturnToRefererController.h>
  23. #import <Bolts/BFAppLinkReturnToRefererView.h>
  24. #import <Bolts/BFAppLinkTarget.h>
  25. #import <Bolts/BFMeasurementEvent.h>
  26. #import <Bolts/BFURL.h>
  27. #import <Bolts/BFWebViewAppLinkResolver.h>
  28. #endif
  29. /*! @abstract 80175001: There were multiple errors. */
  30. extern NSInteger const kBFMultipleErrorsError;
  31. @interface Bolts : NSObject
  32. /*!
  33. Returns the version of the Bolts Framework as an NSString.
  34. @returns The NSString representation of the current version.
  35. */
  36. + (NSString *)version;
  37. @end