mirror of
https://github.com/zhigang1992/transshift.git
synced 2026-05-25 17:32:16 +08:00
FileListCell now have reference to 3 new layout constraints, old code with get/set array of constraints was removed.
27 lines
983 B
Objective-C
27 lines
983 B
Objective-C
//
|
|
// FileListFSCell.h
|
|
// TransmissionRPCClient
|
|
//
|
|
// Created by Alexey Chechetkin on 03.07.15.
|
|
// Copyright (c) 2015 Alexey Chechetkin. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#define CELL_ID_FILELISTFSCELL @"fileListFSCell"
|
|
#define FILELISTFSCELL_LEFTLABEL_WIDTH 28
|
|
#define FILELISTFSCELL_LEFTLABEL_LEVEL_INDENTATION 15
|
|
|
|
@interface FileListFSCell : UITableViewCell
|
|
|
|
@property (weak, nonatomic) IBOutlet UILabel *leftLabel;
|
|
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
|
|
@property (weak, nonatomic) IBOutlet UILabel *detailLabel;
|
|
@property (weak, nonatomic) IBOutlet UISegmentedControl *prioritySegment;
|
|
@property (weak, nonatomic) IBOutlet UIImageView *iconImg;
|
|
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *nameLabelTrailConstraint;
|
|
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *nameLabelTrailToSegmentConstraint;
|
|
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *leftIndentConstraint;
|
|
|
|
@end
|