Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Fix nullability mismatch #33

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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