2017-06-21 06:18:46 +02:00
|
|
|
//
|
|
|
|
// RSOPMLItem.h
|
2017-06-26 01:32:07 +02:00
|
|
|
// RSParser
|
2017-06-21 06:18:46 +02:00
|
|
|
//
|
|
|
|
// Created by Brent Simmons on 2/28/16.
|
|
|
|
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
@import Foundation;
|
|
|
|
|
|
|
|
@class RSOPMLFeedSpecifier;
|
|
|
|
|
|
|
|
|
|
|
|
@interface RSOPMLItem : NSObject
|
|
|
|
|
|
|
|
@property (nonatomic) NSDictionary *attributes;
|
2017-06-26 02:34:48 +02:00
|
|
|
@property (nonatomic) NSArray <RSOPMLItem *> *children;
|
2017-06-21 06:18:46 +02:00
|
|
|
|
|
|
|
- (void)addChild:(RSOPMLItem *)child;
|
|
|
|
|
2017-10-08 06:41:21 +02:00
|
|
|
@property (nonatomic, readonly) RSOPMLFeedSpecifier *feedSpecifier; //May be nil.
|
2017-06-21 06:18:46 +02:00
|
|
|
|
|
|
|
@property (nonatomic, readonly) NSString *titleFromAttributes; //May be nil.
|
|
|
|
@property (nonatomic, readonly) BOOL isFolder;
|
|
|
|
|
|
|
|
@end
|