Files
NetNewsWire/Modules/RSCore/Sources/RSCore/OPMLRepresentable.swift
T

22 lines
462 B
Swift

//
// OPMLRepresentable.swift
// DataModel
//
// Created by Brent Simmons on 7/1/17.
// Copyright © 2017 Ranchero Software, LLC. All rights reserved.
//
import Foundation
@MainActor public protocol OPMLRepresentable {
func OPMLString(indentLevel: Int, allowCustomAttributes: Bool) -> String
}
public extension OPMLRepresentable {
func OPMLString(indentLevel: Int) -> String {
OPMLString(indentLevel: indentLevel, allowCustomAttributes: false)
}
}