2017-12-16 20:16:32 +01:00
|
|
|
//
|
|
|
|
// SmartFeedsController.swift
|
2018-08-29 07:18:24 +02:00
|
|
|
// NetNewsWire
|
2017-12-16 20:16:32 +01:00
|
|
|
//
|
|
|
|
// Created by Brent Simmons on 12/16/17.
|
|
|
|
// Copyright © 2017 Ranchero Software. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
import RSCore
|
|
|
|
|
|
|
|
final class SmartFeedsController: DisplayNameProvider {
|
|
|
|
|
|
|
|
public static let shared = SmartFeedsController()
|
|
|
|
let nameForDisplay = NSLocalizedString("Smart Feeds", comment: "Smart Feeds group title")
|
|
|
|
|
|
|
|
var smartFeeds = [AnyObject]()
|
2019-08-14 06:07:39 +02:00
|
|
|
let todayFeed = SmartFeed(delegate: TodayFeedDelegate())
|
2017-12-16 20:16:32 +01:00
|
|
|
let unreadFeed = UnreadFeed()
|
2019-08-14 06:07:39 +02:00
|
|
|
let starredFeed = SmartFeed(delegate: StarredFeedDelegate())
|
2017-12-16 20:16:32 +01:00
|
|
|
|
|
|
|
private init() {
|
|
|
|
|
|
|
|
self.smartFeeds = [todayFeed, unreadFeed, starredFeed]
|
|
|
|
}
|
|
|
|
}
|