-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSWPostTableItem.h
More file actions
42 lines (30 loc) · 894 Bytes
/
SWPostTableItem.h
File metadata and controls
42 lines (30 loc) · 894 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
32
33
34
35
36
37
38
39
40
//
// SWPostTableItem.h
// StarWorld
//
// Created by Aaron Baker on 10/2/11.
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//
#import <Three20/Three20.h>
@interface SWPostTableItem : TTTableMessageItem {
NSInteger ID;
NSInteger starCount;
float x;
float y;
}
@property (nonatomic, assign) NSInteger ID;
@property (nonatomic, assign) NSInteger starCount;
@property (nonatomic, assign) float x;
@property (nonatomic, assign) float y;
+ (id)itemWithTitle:(NSString*)title
caption:(NSString*)caption
text:(NSString*)text
timestamp:(NSDate*)timestamp
ID:(NSInteger)itemID
starcount:(NSInteger)itemStarCount
x:(float)x
y:(float)y
URL:(NSString*)URL;
- (NSString*) description;
- (CLLocationCoordinate2D) getCoordinate;
@end