-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathImageDetailsViewController.h
59 lines (43 loc) · 1.79 KB
/
ImageDetailsViewController.h
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//
// ImageDetailsViewController.h
// Virtual Gallery
//
// Created by Bratislav Ljubisic on 24/12/2012.
// Copyright (c) 2012 Gtech Beograd. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ImageObject.h"
#import "ImageModel.h"
#define MINIMUM_SCALE 1.0
#define MAXIMUM_SCALE 4.0
@protocol ImageDetailsDelegate <NSObject>
@optional
- (void) doneButtonPressed;
@end
@interface ImageDetailsViewController : UIViewController <UIGestureRecognizerDelegate, UIScrollViewDelegate, ImageModelDelegate> {
id <ImageDetailsDelegate> delegate;
}
- (IBAction)doneTouched:(id)sender;
@property (retain) id delegate;
@property (strong, nonatomic) IBOutlet UIView *view;
@property (strong, retain) UIActivityIndicatorView *spinner;
@property (weak, nonatomic) IBOutlet UIScrollView *imageScrollView;
@property (weak, nonatomic) IBOutlet UIView *detailsView;
@property (weak, nonatomic) IBOutlet UILabel *aperture;
@property (weak, nonatomic) IBOutlet UILabel *camera;
@property (weak, nonatomic) IBOutlet UILabel *iso;
@property (weak, nonatomic) IBOutlet UILabel *licence;
@property (weak, nonatomic) IBOutlet UILabel *exposure;
@property (weak, nonatomic) IBOutlet UILabel *name;
@property (weak, nonatomic) IBOutlet UILabel *focalLength;
@property (weak, nonatomic) IBOutlet UILabel *description;
@property (weak, nonatomic) IBOutlet UIImageView *authorImage;
@property (weak, nonatomic) IBOutlet UILabel *authorFirstName;
@property (weak, nonatomic) IBOutlet UILabel *authorLastName;
@property (weak, nonatomic) IBOutlet UIToolbar *shareToolbar;
@property (strong, nonatomic) IBOutlet UIImageView *imageView;
@property (strong, nonatomic) ImageObject *image;
@property (strong, nonatomic) ImageModel *model;
@property (strong, nonatomic) UIImage *tempImage;
- (IBAction)pressedShareButton:(id) sender;
@end