NetNewsWire/Frameworks/RSParser/Feeds/FeedParser.swift

27 lines
532 B
Swift
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// FeedParser.swift
// RSParser
//
// Created by Brent Simmons on 6/20/17.
// Copyright © 2017 Ranchero Software, LLC. All rights reserved.
//
import Foundation
public struct FeedParser {
static func feedType(parserData: ParserData) -> FeedType {
// If theres not enough data, return .unknown. Ask again when theres more data.
// If its definitely not a feed, return .notAFeed.
return .unknown //stub
}
static func parseFeed(parserData: ParserData) throws -> ParsedFeed? {
return nil //stub
}
}