mirror of
https://github.com/tappollo/WWDC.git
synced 2026-01-12 22:45:32 +08:00
29 lines
628 B
Swift
29 lines
628 B
Swift
//
|
|
// Transcript.swift
|
|
// WWDC
|
|
//
|
|
// Created by Guilherme Rambo on 06/02/17.
|
|
// Copyright © 2017 Guilherme Rambo. All rights reserved.
|
|
//
|
|
|
|
import Cocoa
|
|
import RealmSwift
|
|
|
|
/// Transcript is an ASCIIWWDC transcript for a WWDC session
|
|
public class Transcript: Object {
|
|
|
|
/// Unique identifier
|
|
public dynamic var identifier = ""
|
|
|
|
/// The annotations the transcript contains
|
|
public let annotations = List<TranscriptAnnotation>()
|
|
|
|
/// The text of the transcript
|
|
public dynamic var fullText = ""
|
|
|
|
public override class func primaryKey() -> String? {
|
|
return "identifier"
|
|
}
|
|
|
|
}
|