SnapscreenClipSharingTutorialContent
@interface SnapscreenClipSharingTutorialContent : NSObject
Configuration object of a single page in the tutorial
-
The image for the tutorial page
Declaration
Objective-C
@property (nonatomic, readonly) int *_Nonnull image;
Swift
var image: UnsafeMutablePointer<Int32>! { get }
-
The text for the tutorial page shown below the image
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *text;
Swift
var text: UnsafeMutablePointer<Int32>? { get }
-
The attributed text for the tutorial page shown the image
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSAttributedString *attributedText;
Swift
var attributedText: UnsafeMutablePointer<Int32>? { get }
-
Initializer for tutorial page with an image and attributed text
Declaration
Objective-C
+ (nonnull SnapscreenClipSharingTutorialContent *) contentWithImage:(id)image text:(nonnull NSString *)text;
Swift
/*not inherited*/ init!(image: Any!, text: Any!)
Parameters
image
the image
text
the text
Return Value
content object for that page
-
Initializer for tutorial page with an image and attributed text
Declaration
Objective-C
+ (nonnull SnapscreenClipSharingTutorialContent *) contentWithImage:(id)image attributedText:(nonnull NSAttributedString *)attributedText;
Swift
/*not inherited*/ init!(image: Any!, attributedText: Any!)
Parameters
image
the image
attributedText
the attributed text
Return Value
content object for that page