mirror of
https://github.com/tappollo/WWDC.git
synced 2026-01-12 22:45:32 +08:00
26 lines
548 B
Swift
26 lines
548 B
Swift
//
|
|
// Keyword.swift
|
|
// WWDC
|
|
//
|
|
// Created by Guilherme Rambo on 06/02/17.
|
|
// Copyright © 2017 Guilherme Rambo. All rights reserved.
|
|
//
|
|
|
|
import Cocoa
|
|
import RealmSwift
|
|
|
|
/// Keywords used when searching sessions
|
|
public class Keyword: Object {
|
|
|
|
/// The keyword
|
|
public dynamic var name = ""
|
|
|
|
/// Sessions containing this keyword
|
|
// public let sessionInstances = LinkingObjects(fromType: SessionInstance.self, property: "keywords")
|
|
|
|
public override class func primaryKey() -> String? {
|
|
return "name"
|
|
}
|
|
|
|
}
|