GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Coding-iOS/Coding_iOS/Models/Task.h at master · ForkedItems/Coding-iOS Expand file tree/ Copy pathTask.hMore file actions executable file ·82 lines (72 loc) · 2.71 KB / Copy pathTask.hFile metadata and controlsexecutable file ·82 lines (72 loc) · 2.71 KB 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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 // // Task.h // Coding_iOS // // Created by 王 原闯 on 14-8-15. // Copyright (c) 2014年 Coding. All rights reserved. // #import <Foundation/Foundation.h> #import "User.h" #import "Projects.h" #import "Login.h" #import "TaskComment.h" #import "ProjectTag.h" @class Project; @class Task_Description; typedef NS_ENUM(NSInteger, TaskHandleType) { TaskHandleTypeEdit = 0, TaskHandleTypeAddWithProject, TaskHandleTypeAddWithoutProject }; @interface Task : NSObject @property (readwrite, nonatomic, strong) User *owner, *creator; @property (readwrite, nonatomic, strong) NSString *title, *content, *backend_project_path, *deadline, *path, *description_mine; @property (readwrite, nonatomic, strong) NSDate *created_at, *updated_at; @property (readonly, nonatomic, strong) NSDate *deadline_date; @property (readwrite, nonatomic, strong) Project *project; @property (readwrite, nonatomic, strong) NSNumber *id, *status, *owner_id, *priority, *comments, *has_description, *number; @property (readwrite, nonatomic, strong) NSDictionary *propertyArrayMap; @property (readwrite, nonatomic, strong) NSMutableArray *activityList, *labels; @property (nonatomic, assign) TaskHandleType handleType; @property (nonatomic, assign) BOOL isRequesting, isRequestingDetail, isRequestingCommentList, needRefreshDetail; @property (readwrite, nonatomic, strong) NSString *nextCommentStr; @property (strong, nonatomic) Task_Description *task_description; + (Task *)taskWithProject:(Project *)project andUser:(User *)user; + (Task *)taskWithBackend_project_path:(NSString *)backend_project_path andId:(NSString *)taskId; + (Task *)taskWithTask:(Task *)task; - (BOOL)isSameToTask:(Task *)task; //任务状态 - (NSString *)toEditTaskStatusPath; -(NSDictionary *)toEditStatusParams; -(NSDictionary *)toChangeStatusParams; //更新任务 - (NSString *)toUpdatePath; -(NSDictionary *)toUpdateParamsWithOld:(Task *)oldTask; //更新任务描述 - (NSString *)toUpdateDescriptionPath; //添加新任务 - (NSString *)toAddTaskPath; - (NSDictionary *)toAddTaskParams; //删除任务 - (NSString *)toDeleteTaskPath; //任务评论列表 - (NSString *)toCommentListPath; - (NSDictionary *)toCommentListParams; //任务动态列表 - (NSString *)toActivityListPath; //任务详情 - (NSString *)toTaskDetailPath; //任务描述 - (NSString *)toDescriptionPath; //评论任务 - (NSString *)toDoCommentPath; - (NSDictionary *)toDoCommentParams; - (NSString *)toEditLabelsPath; //- (void)addNewComment:(TaskComment *)comment; //- (void)deleteComment:(TaskComment *)comment; @end @interface Task_Description : NSObject @property (strong, nonatomic) NSString *description_mine, *markdown; + (instancetype)defaultDescription; + (instancetype)descriptionWithMdStr:(NSString *)mdStr; @end |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |