mirror of
https://github.com/tappollo/WWDC.git
synced 2026-06-15 18:07:35 +08:00
25 lines
683 B
Swift
25 lines
683 B
Swift
//
|
|
// TranscriptAnnotation.swift
|
|
// WWDC
|
|
//
|
|
// Created by Guilherme Rambo on 06/02/17.
|
|
// Copyright © 2017 Guilherme Rambo. All rights reserved.
|
|
//
|
|
|
|
import Cocoa
|
|
import RealmSwift
|
|
|
|
/// TranscriptAnnotation is a line within an ASCIIWWDC transcript, with its associated timestamp within the session's video
|
|
public class TranscriptAnnotation: Object {
|
|
|
|
/// The time this annotation occurs within the video
|
|
public dynamic var timecode = 0.0
|
|
|
|
/// The annotation's text
|
|
public dynamic var body = ""
|
|
|
|
/// The transcript this annotation is associated with
|
|
public let transcript = LinkingObjects(fromType: Transcript.self, property: "annotations")
|
|
|
|
}
|