//
//  GifTableViewCell.h
//  gifmaker
//
//  Created by Sergii Simakhin on 11/27/15.
//  Copyright © 2015 Cayugasoft. All rights reserved.
//

// Frameworks
#import <UIKit/UIKit.h>

// Models
#import "FLAnimatedImageView.h"

@protocol GifTableViewСellActionsDelegate <NSObject>

- (void)shareButtonDidTapHandler:(NSInteger)index;
- (void)editButtonDidTapHandler:(NSInteger)index;
- (void)deleteMediaDidTapHandler:(NSInteger)index;

@end

@interface GifTableViewCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UIView *cardView;
@property (weak, nonatomic) IBOutlet FLAnimatedImageView *gifView;
@property (weak, nonatomic) IBOutlet UILabel *postedDateLabel;
@property (weak, nonatomic) IBOutlet UIButton *editButton;
@property (weak, nonatomic) IBOutlet UIStackView *underneathButtonsStackView;
@property (weak, nonatomic) id delegate;

@property (nonatomic) NSInteger inclineDegree;

- (IBAction)shareButtonDidTap:(id)sender;
- (IBAction)editGifDidTap:(id)sender;
- (IBAction)deleteButtonDidTap:(id)sender;

- (void)resetTransform;
- (void)makeSubviewsVisible;

@end
