RSDCohortNavigationRule
public protocol RSDCohortNavigationRule
A cohort navigation rule is used by the RSDCohortTrackingRule
to determine whether to skip a step,
and if so where to skip to, based on the currently applied cohorts.
-
The list of cohorts that are tested for this navigation rule.
Declaration
Swift
var requiredCohorts: Set<String> { get }
-
What type of operator to apply. If
nil
, then.all
is assumed.Declaration
Swift
var cohortOperator: RSDCohortRuleOperator? { get }
-
Optional skip identifier for this rule.
If this rule is applied after displaying the step, then this will be used as the identifier to skip to. If
nil
then the skip to identifier will be assumed to beRSDIdentifier.exit
.If this rule is applied before displaying the step, then this is the identifier to skip to. If
nil
then just this step will be skipped.Declaration
Swift
var skipToIdentifier: String? { get }