Skip to content

Commit

Permalink
fix conditionals in header files
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaiMadlener committed Nov 18, 2024
1 parent f72a0b9 commit 09c9ef5
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ResearchKit/Common/ORKAnswerFormat.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
@class ORKLocationAnswerFormat;
@class ORKSESAnswerFormat;
@class ORKImageChoice;
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down Expand Up @@ -437,7 +438,6 @@ ORK_CLASS_AVAILABLE

@end

#if TARGET_OS_IOS || TARGET_OS_VISION
@interface ORKAnswerFormat()

/// @name Factory methods
Expand Down
2 changes: 2 additions & 0 deletions ResearchKit/Common/ORKAnswerFormat_Private.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

#if TARGET_OS_IOS || TARGET_OS_VISION
#import <ResearchKit/ORKAnswerFormat.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down Expand Up @@ -93,6 +94,7 @@ ORK_CLASS_AVAILABLE
@property (nonatomic, copy, readonly) NSString *errorMessage;

@end
#endif

@protocol ORKAnswerFormatPlatterPresentable <NSObject>

Expand Down
1 change: 1 addition & 0 deletions ResearchKit/Common/ORKCollectionResult.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

#if TARGET_OS_IOS || TARGET_OS_VISION
#import <ResearchKit/ORKResult.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
1 change: 1 addition & 0 deletions ResearchKit/Common/ORKCollectionResult_Private.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@

#if TARGET_OS_IOS || TARGET_OS_VISION
#import <ResearchKit/ORKCollectionResult.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
1 change: 1 addition & 0 deletions ResearchKit/Common/ORKFormStep.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#import <ResearchKit/ORKStep.h>
#import <ResearchKit/ORKDefines.h>
#import <ResearchKit/ORKStep.h>
#endif

/**
Values that determine the style
Expand Down
1 change: 1 addition & 0 deletions ResearchKit/Common/ORKInstructionStep.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

#if TARGET_OS_IOS || TARGET_OS_VISION
#import <ResearchKit/ORKStep.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
1 change: 1 addition & 0 deletions ResearchKit/Common/ORKOrderedTask.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

#if TARGET_OS_IOS || TARGET_OS_VISION
#import <ResearchKit/ORKTask.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
1 change: 1 addition & 0 deletions ResearchKit/Common/ORKResult.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

#if TARGET_OS_IOS || TARGET_OS_VISION
#import <ResearchKit/ORKTypes.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
2 changes: 1 addition & 1 deletion ResearchKit/Common/ORKTask.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

#if ORK_FEATURE_HEALTHKIT_AUTHORIZATION
#import <HealthKit/HealthKit.h>

#endif

#if TARGET_OS_IOS || TARGET_OS_VISION
#import <ResearchKit/ORKTypes.h>
Expand Down
1 change: 1 addition & 0 deletions ResearchKit/Common/ORKTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

#if TARGET_OS_IOS || TARGET_OS_VISION
#import <ResearchKit/ORKDefines.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down

0 comments on commit 09c9ef5

Please sign in to comment.