Yini
1.0
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Pages
BWActivity.h
Go to the documentation of this file.
1
//
2
// BWActivity.h
3
// Yini
4
//
5
// Created by siqi wang on 12-8-6.
6
// Copyright (c) 2012年 siqi wang. All rights reserved.
7
//
8
//
9
//
10
//
11
//
12
//
13
//
14
15
#import <Foundation/Foundation.h>
16
#import "
BWLord.h
"
17
#import "
BWAgeCalculator.h
"
18
enum
BWActivityType
19
{
20
BWActivityTypeNews
,
21
BWActivityTypeLike
,
22
BWActivityTypeComment
23
24
};
25
26
27
@interface
BWActivity
: NSObject<NSCoding>
28
29
30
@property
(nonatomic, strong)
BWUser
*
owner
;
31
@property
(nonatomic, strong) NSDate *
date
;
32
@property
(nonatomic) NSInteger
type
;
33
@property
(nonatomic, strong) NSArray *
seenBy
;
34
@property
(nonatomic, strong) NSArray *
relatedUsers
;
35
36
-(id)
initWithLord
;
// for any new activity created by my self, activity inited from file shouldnt call this method...
37
38
39
-(NSString*)
ageDescription
;
40
41
42
43
44
45
46
47
@end
Yini
BWActivity.h
Generated on Thu Aug 9 2012 11:05:52 for Yini by
1.8.1.2