-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathThreeMoviesView.h
60 lines (44 loc) · 1.98 KB
/
ThreeMoviesView.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
60
//
// ThreeMoviesView.h
// flixnchill
//
// Created by Greyson Gregory on 12/4/15.
// Copyright © 2015 codepath. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "UIImageView+AFNetworking.h"
#import "DraggableImageView.h"
#import "MovieDetailsView.h"
@protocol ThreeMoviesViewDelegate <NSObject>
-(void)onDoneTap;
@end
@interface ThreeMoviesView : UIView
@property (assign) id<ThreeMoviesViewDelegate> delegate;
@property (strong, nonatomic) NSString *movieChoiceOne;
@property (strong, nonatomic) NSString *movieChoiceTwo;
@property (strong, nonatomic) NSString *movieChoiceThree;
@property (strong, nonatomic) IBOutlet MovieDetailsView *movieDetailsOne;
@property (strong, nonatomic) IBOutlet MovieDetailsView *movieDetailsTwo;
@property (strong, nonatomic) IBOutlet MovieDetailsView *movieDetailsThree;
@property (weak, nonatomic) IBOutlet UILabel *matchName;
@property (weak, nonatomic) IBOutlet UIImageView *matchProfilePic;
@property (strong, nonatomic) NSString *matchId;
@property (weak, nonatomic) IBOutlet UILabel *titleMessage;
@property (weak, nonatomic) IBOutlet UIImageView *moviePosterOne;
@property (weak, nonatomic) IBOutlet UIImageView *moviePosterTwo;
@property (weak, nonatomic) IBOutlet UIImageView *moviePosterThree;
@property (weak, nonatomic) IBOutlet UIButton *nopeOneButton;
@property (weak, nonatomic) IBOutlet UIButton *nopeTwoButton;
@property (weak, nonatomic) IBOutlet UIButton *nopeThreeButton;
@property (weak, nonatomic) IBOutlet UIButton *likeOneButton;
@property (weak, nonatomic) IBOutlet UIButton *likeTwoButton;
@property (weak, nonatomic) IBOutlet UIButton *likeThreeButton;
@property (weak, nonatomic) IBOutlet UIButton *doneButton;
- (IBAction)onNopeTapOne:(id)sender;
- (IBAction)onNopeTapTwo:(id)sender;
- (IBAction)onNopeTapThree:(id)sender;
- (IBAction)onLikeTapOne:(id)sender;
- (IBAction)onLikeTapTwo:(id)sender;
- (IBAction)onLikeTapThree:(id)sender;
- (void)setUpView:(NSArray*)movies withDraggableImageView:(DraggableImageView*)draggableImageView;
@end