This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Cocoa | |
@NSApplicationMain | |
class AppDelegate: NSObject, NSApplicationDelegate { | |
let keyEvent = Event() | |
lazy var statusItem: NSStatusItem = { | |
return NSStatusBar.system.statusItem(withLength: NSStatusItem.squareLength) | |
}() | |
func applicationDidFinishLaunching(_ aNotification: Notification) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
import RxSwift | |
import FirebaseFirestore | |
class ViewController: UIViewController { | |
@IBOutlet weak var tableView: UITableView! | |
var posts = [Post]() | |
let disposeBag = DisposeBag() | |
override func viewDidLoad() { |