Inherits from NSObject
Conforms to NSCoding
Declared in PWAlertSegment.h

Overview

PWAlertSegment encapsulates all of the information related to an alert segment. This includes the name, identifier, child segments and subscription flag.

Tasks

Properties

identifier

An NSString value that represents the unique identifier of an alert segment.

@property (strong, readonly) NSString *identifier

Declared In

PWAlertSegment.h

name

An NSString value that represents the readable name of an alert segment.

@property (strong, readonly) NSString *name

Declared In

PWAlertSegment.h

segments

An NSArray value that represents the child alert segment objects nested under the given alert segment.

@property (strong, readonly) NSArray *segments

Declared In

PWAlertSegment.h

subscribed

A BOOL value that represents the current or desired subscription state of the alert segment.

@property (getter=isSubscribed) BOOL subscribed

Declared In

PWAlertSegment.h