-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSimpleTableView.h
More file actions
27 lines (23 loc) · 919 Bytes
/
SimpleTableView.h
File metadata and controls
27 lines (23 loc) · 919 Bytes
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
//
// SimpleTableView.h
// WinePicker
//
// Created by Oleksii Nezhyborets on 21.08.15.
// Copyright (c) 2015 Onix-Systems. All rights reserved.
//
typedef void (^SimpleTableViewSelectBlock)(NSIndexPath *indexPath);
@interface SimpleTableView : UITableView
@property (nonatomic, strong) UIFont *textFont;
@property (nonatomic, strong) UIColor *textColor;
@property (nonatomic) CGFloat textX;
@property (nonatomic, strong) NSArray <NSString *> *items;
@property (nonatomic, strong) NSString *selectedValue;
@property (nonatomic, strong) UIImage *selectionImage;
@property (nonatomic) CGSize imageSize;
@property (nonatomic) BOOL shouldFitToContentSize;
@property (nonatomic) UITableViewCellSelectionStyle selectionStyle;
@property (nonatomic, copy) SimpleTableViewSelectBlock didSelectBlock;
@property (nonatomic) BOOL removeMargins;
- (void)hideSeparatorsForEmptyCells;
- (instancetype) __unavailable init;
@end