19 lines
294 B
Swift
19 lines
294 B
Swift
|
//
|
||
|
// 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 })
|
||
|
}
|
||
|
}
|