Files
WWDC/ConfCore/TranscriptAnnotation.swift
Guilherme Rambo 17f01dbc45 WIP: storage
2017-03-17 01:19:05 -03:00

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")
}