Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
Fix Nullability mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
SLambrakis authored Apr 2, 2020
1 parent 5cc1086 commit f6eaecc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PersonalizedAdConsent/PersonalizedAdConsent/PACConsentForm.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ typedef void (^PACDismissCompletion)(NSError *_Nullable error, BOOL userPrefersA
/// Indicates whether the consent form should show an ad-free app option. Defaults to NO.
@property(nonatomic) BOOL shouldOfferAdFree;

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnullability"
/// Unavailable.
- (nullable instancetype)init NS_UNAVAILABLE;
#pragma clang diagnostic pop

/// Returns an initialized consent form with your application's privacy policy URL. Returns nil if
/// the privacy policy URL is invalid.
Expand Down

0 comments on commit f6eaecc

Please sign in to comment.