forked from coding/Coding-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProjectTaskListViewCell.h
More file actions
executable file
·31 lines (26 loc) · 951 Bytes
/
ProjectTaskListViewCell.h
File metadata and controls
executable file
·31 lines (26 loc) · 951 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
28
29
30
31
//
// ProjectTaskListViewCell.h
// Coding_iOS
//
// Created by 王 原闯 on 14-8-16.
// Copyright (c) 2014年 Coding. All rights reserved.
//
#define kCellIdentifier_ProjectTaskList @"ProjectTaskListViewCell"
#import <UIKit/UIKit.h>
#import "Task.h"
@interface ProjectTaskListViewCell : UITableViewCell
@property (strong, nonatomic) Task *task;
@property (copy, nonatomic) void(^checkViewClickedBlock)(Task *task);
+ (CGFloat)cellHeightWithObj:(id)obj;
@end
@interface ProjectTaskListViewCellTagsView : UIView
@property (strong, nonatomic) NSArray *tags;
@property (strong, nonatomic) NSDate *deadline_date;
@property (assign, nonatomic) BOOL done;
+ (instancetype)viewWithTags:(NSArray *)tags andDate:(NSDate *)deadline_date;
- (void)reloadData;
@end
@interface ProjectTaskListViewCellDateView : UIView
+ (instancetype)viewWithDate:(NSDate *)deadline_date andDone:(BOOL)done;
- (void)setDate:(NSDate *)deadline_date andDone:(BOOL)done;
@end