NewsBlur/clients/ios/Classes/offline/OfflineFetchText.h
David Sinclair 106c970b4a iOS: #1236 (offline text)
- Added a "Download text" preference.  Defaults on.
- If on, the text is fetched for feeds that are in text view when fetching new stories.
- The text is fetched after stories, and before images, using a similar mechanism.
- The text is stored in a new "cached_text" database table.
- The text is deleted when the story is deleted.
- When displaying a text view, the cached text is used if available, otherwise it is fetched as before.
2019-10-25 20:52:51 -07:00

23 lines
412 B
Objective-C

//
// OfflineFetchText.h
// NewsBlur
//
// Created by David Sinclair on 2019-10-25.
// Copyright © 2019 NewsBlur. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "NewsBlurAppDelegate.h"
#import "FMDatabaseQueue.h"
NS_ASSUME_NONNULL_BEGIN
@interface OfflineFetchText : NSOperation
@property (nonatomic) NewsBlurAppDelegate *appDelegate;
- (BOOL)fetchText;
@end
NS_ASSUME_NONNULL_END