-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSCMovieCell.h
43 lines (25 loc) · 1 KB
/
SCMovieCell.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
//
// SCMovieCell.h
// scanorama
//
// Created by Lion User on 07/09/2012.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol FavoriteButtonDelegate
-(void)movieCell:(UITableViewCell *)cell favoriteButtonClicked:(UIButton *)button;
@end
@interface SCMovieCell : UITableViewCell
@property (assign) id<FavoriteButtonDelegate> delegate;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel *movieLabel;
@property (weak, nonatomic) IBOutlet UILabel *movieEnLabel;
@property (weak, nonatomic) IBOutlet UILabel *directorLenghLabel;
@property (weak, nonatomic) IBOutlet UILabel *yearsCountryLabel;
@property (weak, nonatomic) IBOutlet UIButton *favoriteButton;
@property (weak, nonatomic) IBOutlet UIImageView *thumbImage;
@property (strong, nonatomic) NSString *cinema;
@property (strong, nonatomic) NSDate *date;
@property (strong, nonatomic) NSString *city;
-(IBAction)favoriteButtonClicked:(id)sender;
@end