UASchedule

@interface UASchedule : NSObject

Contains the schedule info and identifier.

  • The schedule’s identifier.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull identifier;

    Swift

    var identifier: String { get }
  • The schedule’s information.

    Declaration

    Objective-C

    @property (readonly, nonatomic) UAScheduleInfo *_Nonnull info;

    Swift

    var info: UAScheduleInfo { get }
  • The schedule’s metadata.

    Note

    metadata includes the locale which can change at any time.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSDictionary *metadata;

    Swift

    var metadata: [AnyHashable : Any]? { get }
  • Checks if the schedule is equal to another schedule.

    Declaration

    Objective-C

    - (BOOL)isEqualToSchedule:(nullable UASchedule *)schedule;

    Swift

    func isEqual(to schedule: UASchedule?) -> Bool

    Parameters

    schedule

    The other schedule to compare against.

    Return Value

    YES if the schedules are equal, otherwise NO.