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