TimelineOption
@interface TimelineOption : NSObject
Class to represent a Timeline description
-
Timeline selector string
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSString *timelineSelector;
Swift
var timelineSelector: String! { get set }
-
Timeline propertries
Declaration
Objective-C
@property (assign, readwrite, nonatomic) TimelineProperties *timelineProperties;
Swift
var timelineProperties: TimelineProperties! { get set }
-
Creates a TimelineOption instance
Declaration
Objective-C
+ (instancetype)TimelineOptionWithSelector:(NSString *)timeline_select UnitsPerTick:(int)unit_ticks UnitsPerSecond:(int)units_sec Accuracy:(int)accuracy;
Parameters
timeline_select
Timeline selector string
unit_ticks
units per tick
units_sec
units per second
accuracy
timeline’s precision i.e. its granularity
Return Value
a TimelineOption instance
-
Initialiser
Declaration
Objective-C
- (id)init:(NSString *)timeline_select Options:(TimelineProperties *)timeline_props;
Swift
init!(_ timeline_select: String!, options timeline_props: TimelineProperties!)
Parameters
timeline_select
Timeline selector string
unit_ticks
units per tick
units_sec
units per second
accuracy
timeline’s precision i.e. its granularity *
Return Value
initialised instance
-
Initialiser
Declaration
Objective-C
- (id)initWithSelector:(NSString *)timeline_select UnitsPerTick:(int)unit_ticks UnitsPerSecond:(int)units_sec Accuracy:(int)accuracy;
Swift
init!(selector timeline_select: String!, unitsPerTick unit_ticks: Int32, unitsPerSecond units_sec: Int32, accuracy: Int32)
Parameters
timeline_select
Timeline selector string
timeline_props
Timeline properties
Return Value
initialised instance
-
Undocumented
Declaration
Objective-C
@interface TimelineOption : NSObject