forked from coding/Coding-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStartImagesManager.h
More file actions
39 lines (29 loc) · 803 Bytes
/
StartImagesManager.h
File metadata and controls
39 lines (29 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//
// StartImagesManager.h
// Coding_iOS
//
// Created by Ease on 14/12/31.
// Copyright (c) 2014年 Coding. All rights reserved.
//
#import <Foundation/Foundation.h>
@class StartImage;
@class Group;
@interface StartImagesManager : NSObject
+ (instancetype)shareManager;
- (StartImage *)randomImage;
- (StartImage *)curImage;
- (void)refreshImagesPlist;
- (void)startDownloadImages;
@end
@interface StartImage : NSObject
@property (strong, nonatomic) NSString *url;
@property (strong, nonatomic) Group *group;
@property (strong, nonatomic) NSString *fileName, *descriptionStr, *pathDisk;
+ (StartImage *)defautImage;
+ (StartImage *)midAutumnImage;
- (UIImage *)image;
- (void)startDownloadImage;
@end
@interface Group : NSObject
@property (strong, nonatomic) NSString *name, *author;
@end