-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSWPost.h
38 lines (31 loc) · 889 Bytes
/
SWPost.h
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
//
// Post.h
// Starworld Test2
//
// Created by Aaron Baker on 7/24/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
@interface SWPost : NSObject {
NSString *name;
NSString *content;
float x;
float y;
NSDate *time;
NSInteger ID;
NSInteger starCount;
}
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *content;
@property (nonatomic, copy) NSDate *time;
@property (nonatomic, assign) float x;
@property (nonatomic, assign) float y;
@property (nonatomic, assign) NSInteger ID;
@property (nonatomic, assign) NSInteger starCount;
- (id)initWithName:(NSString *)postName
time:(NSDate *)postTime
x:(float)postX
y:(float)postY
ID:(NSInteger)postID
starCount:(NSInteger)postStarCount
content:(NSString *)postContent;
@end