Skip to content

Commit ef3c986

Browse files
committed
Add warnings for imports of headers that are unavailable on watchOS.
1 parent 7fbeb41 commit ef3c986

File tree

17 files changed

+48
-0
lines changed

17 files changed

+48
-0
lines changed

Parse/Internal/Commands/PFRESTPushCommand.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
#import <Parse/PFConstants.h>
1313

14+
PF_WATCH_UNAVAILABLE_WARNING
15+
1416
@class PFPushState;
1517

1618
NS_ASSUME_NONNULL_BEGIN

Parse/Internal/Installation/Controller/PFInstallationController.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#import "PFCoreDataProvider.h"
1313
#import "PFObjectControlling.h"
1414

15+
PF_WATCH_UNAVAILABLE_WARNING
16+
1517
NS_ASSUME_NONNULL_BEGIN
1618

1719
PF_TV_UNAVAILABLE PF_WATCH_UNAVAILABLE @interface PFInstallationController : NSObject <PFObjectControlling>

Parse/Internal/Installation/CurrentInstallationController/PFCurrentInstallationController.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
#import "PFDataProvider.h"
1717
#import "PFMacros.h"
1818

19+
PF_WATCH_UNAVAILABLE_WARNING
20+
1921
extern NSString *const PFCurrentInstallationFileName;
2022
extern NSString *const PFCurrentInstallationPinName;
2123

Parse/Internal/PFReachability.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
#import <Parse/PFConstants.h>
1313

14+
PF_WATCH_UNAVAILABLE_WARNING
15+
1416
@class PFReachability;
1517

1618
NS_ASSUME_NONNULL_BEGIN

Parse/Internal/Product/ProductsRequestHandler/PFProductsRequestHandler.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
#import <Parse/PFConstants.h>
1414

15+
PF_WATCH_UNAVAILABLE_WARNING
16+
1517
@class BFTask PF_GENERIC(__covariant BFGenericType);
1618

1719
PF_WATCH_UNAVAILABLE @interface PFProductsRequestResult : NSObject

Parse/Internal/Purchase/Controller/PFPurchaseController.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
#import "PFMacros.h"
1515

16+
PF_WATCH_UNAVAILABLE_WARNING
17+
1618
@class BFTask PF_GENERIC(__covariant BFGenericType);
1719
@class PFFileManager;
1820
@class PFPaymentTransactionObserver;

Parse/Internal/Purchase/PaymentTransactionObserver/PFPaymentTransactionObserver.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
#import <Parse/PFConstants.h>
1414

15+
PF_WATCH_UNAVAILABLE_WARNING
16+
1517
/*!
1618
* The PFPaymentTransactionObserver listens to the payment queue, processes a payment by running business logic,
1719
* and completes the transaction. It's a complex interaction and best explained as follows:

Parse/Internal/Push/ChannelsController/PFPushChannelsController.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
#import "PFCoreDataProvider.h"
1515

16+
PF_WATCH_UNAVAILABLE_WARNING
17+
1618
@class BFTask PF_GENERIC(__covariant BFGenericType);
1719

1820
NS_ASSUME_NONNULL_BEGIN

Parse/Internal/Push/Controller/PFPushController.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
#import <Parse/PFConstants.h>
1313

14+
PF_WATCH_UNAVAILABLE_WARNING
15+
1416
@class BFTask PF_GENERIC(__covariant BFGenericType);
1517
@class PFPushState;
1618
@protocol PFCommandRunning;

Parse/Internal/Push/Manager/PFPushManager.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
#import "PFCoreDataProvider.h"
1515
#import "PFDataProvider.h"
1616

17+
PF_WATCH_UNAVAILABLE_WARNING
18+
1719
@class PFPushChannelsController;
1820
@class PFPushController;
1921

0 commit comments

Comments
 (0)