[ABANDONED] Mastodon iOS client.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
770 B

//
// TimelinesViewController.swift
// elpha-ios
//
// Created by Dwayne Harris on 8/28/18.
// Copyright © 2018 Elpha. All rights reserved.
//
import UIKit
class TimelineViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
let tootButtonItem = UIBarButtonItem(image: UIImage(named: "Toot"), style: .plain, target: self, action: #selector(compose))
navigationItem.rightBarButtonItem = tootButtonItem
}
@objc func compose() {
let alertController = UIAlertController(title: "Compose", message: "Toot", preferredStyle: .alert)
alertController.addAction(UIAlertAction(title: "OK", style: .default, handler: nil))
present(alertController, animated: true)
}
}