Skip to content

Commit 1de354a

Browse files
committed
ref: Use SentrySpan protocol instead of class
1 parent 119ab1c commit 1de354a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Sources/Sentry/include/SentryTimeToDisplayTracker.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
#if SENTRY_HAS_UIKIT
44

5-
@class SentrySpan;
65
@class SentryTracer;
76
@class SentryDispatchQueueWrapper;
87
@class UIViewController;
98

9+
@protocol SentrySpan;
10+
1011
NS_ASSUME_NONNULL_BEGIN
1112

1213
/**
@@ -19,9 +20,9 @@ NS_ASSUME_NONNULL_BEGIN
1920
@interface SentryTimeToDisplayTracker : NSObject
2021
SENTRY_NO_INIT
2122

22-
@property (nullable, nonatomic, weak, readonly) SentrySpan *initialDisplaySpan;
23+
@property (nullable, nonatomic, weak, readonly) id<SentrySpan> initialDisplaySpan;
2324

24-
@property (nullable, nonatomic, weak, readonly) SentrySpan *fullDisplaySpan;
25+
@property (nullable, nonatomic, weak, readonly) id<SentrySpan> fullDisplaySpan;
2526

2627
@property (nonatomic, readonly) BOOL waitForFullDisplay;
2728

0 commit comments

Comments
 (0)