mirror of
https://github.com/ViennaRSS/vienna-rss.git
synced 2026-04-07 19:27:39 +00:00
d4f3d2a977
Clang allows instance variable declaration in the class implementation. Apple has recommended this since at least 2013: https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ObjectiveC/Chapters/ocDefiningClasses.html.
19 lines
391 B
Objective-C
19 lines
391 B
Objective-C
//
|
|
// FolderImageCache.h
|
|
// Vienna
|
|
//
|
|
// Created by Joshua Pore on 8/03/2015.
|
|
// Copyright (c) 2015 The Vienna Project. All rights reserved.
|
|
//
|
|
|
|
@import Cocoa;
|
|
|
|
@interface FolderImageCache : NSObject
|
|
|
|
@property (class, readonly, nonatomic) FolderImageCache *defaultCache;
|
|
|
|
-(void)addImage:(NSImage *)image forURL:(NSString *)baseURL;
|
|
-(NSImage *)retrieveImage:(NSString *)baseURL;
|
|
|
|
@end
|