NetNewsWire/Frameworks/Database/Extensions/Feed+Database.swift

19 lines
294 B
Swift
Raw Normal View History

//
// Feed+Database.swift
// Database
//
// Created by Brent Simmons on 8/20/17.
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Foundation
import Data
extension Set where Element == Feed {
func feedIDs() -> Set<String> {
return Set(map { $0.feedID })
}
}