mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-13 18:06:50 +01:00
30 lines
605 B
Objective-C
Executable File
30 lines
605 B
Objective-C
Executable File
//
|
|
// RSOPMLParser.h
|
|
// RSXML
|
|
//
|
|
// Created by Brent Simmons on 7/12/15.
|
|
// Copyright © 2015 Ranchero Software, LLC. All rights reserved.
|
|
//
|
|
|
|
@import Foundation;
|
|
|
|
|
|
@class RSXMLData;
|
|
@class RSOPMLDocument;
|
|
|
|
|
|
typedef void (^RSParsedOPMLBlock)(RSOPMLDocument *OPMLDocument, NSError *error);
|
|
|
|
void RSParseOPML(RSXMLData *xmlData, RSParsedOPMLBlock callback); //async; calls back on main thread.
|
|
|
|
|
|
@interface RSOPMLParser: NSObject
|
|
|
|
- (instancetype)initWithXMLData:(RSXMLData *)xmlData;
|
|
|
|
@property (nonatomic, readonly) RSOPMLDocument *OPMLDocument;
|
|
@property (nonatomic, readonly) NSError *error;
|
|
|
|
@end
|
|
|