#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include() // // UIFontPickerViewController.h // UIKit // // Copyright © 2019 Apple Inc. All rights reserved. // #import #import #import NS_HEADER_AUDIT_BEGIN(nullability, sendability) @class UIFontPickerViewController; UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR @protocol UIFontPickerViewControllerDelegate @optional - (void)fontPickerViewControllerDidCancel:(UIFontPickerViewController *)viewController; - (void)fontPickerViewControllerDidPickFont:(UIFontPickerViewController *)viewController; @end UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR @interface UIFontPickerViewController : UIViewController /* UIFontPickerViewController allows selecting a font family or specific face based on the configuration provided. Mutating the configuration after invoking the initializer has no effect on the view controller. */ - (instancetype)initWithConfiguration:(UIFontPickerViewControllerConfiguration *)configuration NS_DESIGNATED_INITIALIZER; @property (readonly, copy, nonatomic) UIFontPickerViewControllerConfiguration *configuration; @property (nullable, weak, nonatomic) id delegate; @property (nullable, strong, nonatomic) UIFontDescriptor *selectedFontDescriptor; - (instancetype)initWithNibName:(nullable NSString *)nibNameOrNil bundle:(nullable NSBundle *)nibBundleOrNil NS_UNAVAILABLE; @end NS_HEADER_AUDIT_END(nullability, sendability) #else #import #endif