Refactor the artworks urls code so we don't have to update three different arrays each time.
This commit is contained in:
1 parent
daa7fc3604
commit
0d3b0ea3ec
12 files changed
+155
-120
No files matched your search
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// SBRemoteImage.h
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 27/05/17.
|
||||
//
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface SBRemoteImage : NSObject
|
||||
|
||||
+ (instancetype)remoteImageWithURL:(NSURL *)fullSizeURL thumbURL:(NSURL *)thumbURL providerName:(NSString *)providerName;
|
||||
|
||||
@property (nonatomic, readonly) NSURL *URL;
|
||||
@property (nonatomic, readonly) NSURL *thumbURL;
|
||||
@property (nonatomic, readonly) NSString *providerName;
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user