FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Coding-iOS/Coding_iOS/Models/ProjectActivities.h at master · opensourceios/Coding-iOS · GitHub
opensourceios
/
Coding-iOS
Public
forked from
coding/Coding-iOS
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
Coding-iOS
/
Coding_iOS
/
Models
/
ProjectActivities.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
41 lines (32 loc) · 1.18 KB
Breadcrumbs
Coding-iOS
/
Coding_iOS
/
Models
/
ProjectActivities.h
Copy path
File metadata and controls
executable file
·
41 lines (32 loc) · 1.18 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
//
//
ProjectActivities.h
//
Coding_iOS
//
//
Created by Ease on 14/12/1.
//
Copyright (c) 2014年 Coding. All rights reserved.
//
#
import
<
Foundation/Foundation.h
>
#
import
"
ProjectActivity.h
"
typedef
NS_ENUM
(
NSInteger
, ProjectActivityType)
{
ProjectActivityTypeAll =
0
,
ProjectActivityTypeTask,
ProjectActivityTypeTopic,
ProjectActivityTypeFile,
ProjectActivityTypeCode,
ProjectActivityTypeOther
};
@interface
ProjectActivities
:
NSObject
@property
(
readwrite
,
nonatomic
,
strong
)
NSNumber
*project_id, *last_id, *user_id;
@property
(
readwrite
,
nonatomic
,
strong
)
NSString
*type;
@property
(
assign
,
nonatomic
)
BOOL
canLoadMore, willLoadMore, isLoading;
@property
(
readwrite
,
nonatomic
,
strong
)
NSMutableArray
*list, *listGroups;
@property
(
readwrite
,
nonatomic
,
strong
) Project *curProject;
@property
(
readwrite
,
nonatomic
,
strong
) User *curUser;
@property
(
assign
,
nonatomic
)
BOOL
isOfUser;
+ (ProjectActivities *)
proActivitiesWithPro
:
(Project *)
project
type
:
(ProjectActivityType)
type
;
+ (ProjectActivities *)
proActivitiesWithPro
:
(Project *)
project
user
:
(User *)
user
;
- (
NSString
*)
toPath
;
- (
NSDictionary
*)
toParams
;
- (
void
)
configWithProActList
:
(
NSArray
*)
responseA
;
@end
Back
|
FazBrowse Home
|
New Git URL