mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-11 17:06:46 +01:00
28 lines
724 B
Swift
28 lines
724 B
Swift
//
|
|
// ProgressTableViewController.swift
|
|
// NetNewsWire-iOS
|
|
//
|
|
// Created by Maurice Parker on 4/23/19.
|
|
// Copyright © 2019 Ranchero Software. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
class ProgressTableViewController: UITableViewController {
|
|
|
|
override func viewDidLoad() {
|
|
super.viewDidLoad()
|
|
NotificationCenter.default.addObserver(self, selector: #selector(progressDidChange(_:)), name: .AccountRefreshProgressDidChange, object: nil)
|
|
}
|
|
|
|
override func viewDidAppear(_ animated: Bool) {
|
|
super.viewDidAppear(animated)
|
|
navigationController?.updateAccountRefreshProgressIndicator()
|
|
}
|
|
|
|
@objc func progressDidChange(_ note: Notification) {
|
|
navigationController?.updateAccountRefreshProgressIndicator()
|
|
}
|
|
|
|
}
|