diff --git a/iOS/Base.lproj/Main.storyboard b/iOS/Base.lproj/Main.storyboard
index 8a9779033..de9fcca7e 100644
--- a/iOS/Base.lproj/Main.storyboard
+++ b/iOS/Base.lproj/Main.storyboard
@@ -118,7 +118,7 @@
-
+
diff --git a/iOS/Timeline/MasterTimelineTitleView.swift b/iOS/Timeline/TimelineTitleView.swift
similarity index 86%
rename from iOS/Timeline/MasterTimelineTitleView.swift
rename to iOS/Timeline/TimelineTitleView.swift
index fcca1817d..60c1b3ee1 100644
--- a/iOS/Timeline/MasterTimelineTitleView.swift
+++ b/iOS/Timeline/TimelineTitleView.swift
@@ -1,5 +1,5 @@
//
-// MasterFeedTitleView.swift
+// FeedTitleView.swift
// NetNewsWire-iOS
//
// Created by Maurice Parker on 9/21/19.
@@ -8,11 +8,11 @@
import UIKit
-class MasterTimelineTitleView: UIView {
+class TimelineTitleView: UIView {
@IBOutlet weak var iconView: IconView!
@IBOutlet weak var label: UILabel!
- @IBOutlet weak var unreadCountView: MasterTimelineUnreadCountView!
+ @IBOutlet weak var unreadCountView: TimelineUnreadCountView!
private lazy var pointerInteraction: UIPointerInteraction = {
UIPointerInteraction(delegate: self)
@@ -44,7 +44,7 @@ class MasterTimelineTitleView: UIView {
}
}
-extension MasterTimelineTitleView: UIPointerInteractionDelegate {
+extension TimelineTitleView: UIPointerInteractionDelegate {
func pointerInteraction(_ interaction: UIPointerInteraction, styleFor region: UIPointerRegion) -> UIPointerStyle? {
var rect = self.frame
diff --git a/iOS/Timeline/MasterTimelineTitleView.xib b/iOS/Timeline/TimelineTitleView.xib
similarity index 93%
rename from iOS/Timeline/MasterTimelineTitleView.xib
rename to iOS/Timeline/TimelineTitleView.xib
index 7d5b53ce6..54034dd4a 100644
--- a/iOS/Timeline/MasterTimelineTitleView.xib
+++ b/iOS/Timeline/TimelineTitleView.xib
@@ -1,15 +1,15 @@
-
+
-
+
-
+
@@ -19,7 +19,7 @@
-
+
@@ -32,6 +32,7 @@
+
@@ -45,7 +46,6 @@
-
diff --git a/iOS/Timeline/MasterTimelineUnreadCountView.swift b/iOS/Timeline/TimelineUnreadCountView.swift
similarity index 89%
rename from iOS/Timeline/MasterTimelineUnreadCountView.swift
rename to iOS/Timeline/TimelineUnreadCountView.swift
index a4674a2ce..603865e3f 100644
--- a/iOS/Timeline/MasterTimelineUnreadCountView.swift
+++ b/iOS/Timeline/TimelineUnreadCountView.swift
@@ -1,5 +1,5 @@
//
-// MasterTimelineUnreadCountView.swift
+// TimelineUnreadCountView.swift
// NetNewsWire-iOS
//
// Created by Maurice Parker on 9/30/19.
@@ -8,7 +8,7 @@
import UIKit
-class MasterTimelineUnreadCountView: FeedUnreadCountView {
+class TimelineUnreadCountView: FeedUnreadCountView {
override var padding: UIEdgeInsets {
return UIEdgeInsets(top: 2.0, left: 9.0, bottom: 2.0, right: 9.0)
diff --git a/iOS/Timeline/MasterTimelineViewController.swift b/iOS/Timeline/TimelineViewController.swift
similarity index 98%
rename from iOS/Timeline/MasterTimelineViewController.swift
rename to iOS/Timeline/TimelineViewController.swift
index 2d597ebd6..a92853357 100644
--- a/iOS/Timeline/MasterTimelineViewController.swift
+++ b/iOS/Timeline/TimelineViewController.swift
@@ -85,7 +85,7 @@ class TimelineViewController: UITableViewController, UndoableCommandRunner {
iconSize = AppDefaults.shared.timelineIconSize
resetEstimatedRowHeight()
- if let titleView = Bundle.main.loadNibNamed("MasterTimelineTitleView", owner: self, options: nil)?[0] as? MasterTimelineTitleView {
+ if let titleView = Bundle.main.loadNibNamed("TimelineTitleView", owner: self, options: nil)?[0] as? TimelineTitleView {
navigationItem.titleView = titleView
}
@@ -445,7 +445,7 @@ class TimelineViewController: UITableViewController, UndoableCommandRunner {
@objc func feedIconDidBecomeAvailable(_ note: Notification) {
- if let titleView = navigationItem.titleView as? MasterTimelineTitleView {
+ if let titleView = navigationItem.titleView as? TimelineTitleView {
titleView.iconView.iconImage = coordinator.timelineIconImage
}
@@ -479,7 +479,7 @@ class TimelineViewController: UITableViewController, UndoableCommandRunner {
}
@objc func faviconDidBecomeAvailable(_ note: Notification) {
- if let titleView = navigationItem.titleView as? MasterTimelineTitleView {
+ if let titleView = navigationItem.titleView as? TimelineTitleView {
titleView.iconView.iconImage = coordinator.timelineIconImage
}
if coordinator.showIcons {
@@ -504,7 +504,7 @@ class TimelineViewController: UITableViewController, UndoableCommandRunner {
}
@objc func displayNameDidChange(_ note: Notification) {
- if let titleView = navigationItem.titleView as? MasterTimelineTitleView {
+ if let titleView = navigationItem.titleView as? TimelineTitleView {
titleView.label.text = coordinator.timelineFeed?.nameForDisplay
}
}
@@ -613,7 +613,7 @@ private extension TimelineViewController {
title = coordinator.timelineFeed?.nameForDisplay ?? "Timeline"
- if let titleView = navigationItem.titleView as? MasterTimelineTitleView {
+ if let titleView = navigationItem.titleView as? TimelineTitleView {
let timelineIconImage = coordinator.timelineIconImage
titleView.iconView.iconImage = timelineIconImage
if let preferredColor = timelineIconImage?.preferredColor {
@@ -684,7 +684,7 @@ private extension TimelineViewController {
}
func updateTitleUnreadCount() {
- if let titleView = navigationItem.titleView as? MasterTimelineTitleView {
+ if let titleView = navigationItem.titleView as? TimelineTitleView {
titleView.unreadCountView.unreadCount = coordinator.timelineUnreadCount
}
}