-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshizzeeps.h
43 lines (32 loc) · 1.09 KB
/
shizzeeps.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
39
40
41
42
43
//
// shizzeeps.h
// shizzeeps
//
// Created by Sue Brown on 11/14/09.
// Copyright 2009 House of Crunchy. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "place.h"
@interface shizzeeps : NSObject {
NSMutableData *shizzeepsResponseData;
NSDictionary *dict;
NSArray *results; // this is where most of the good stuff is.
NSMutableArray *places; // an array of place objects
// count is how many places have shizzeeps in them
int count;
// hasData - tells whether or not we've already been initted
bool hasData;
// the callbacks, so we can send the data to the caller when it's ready
id delegate;
SEL callback;
SEL errorCallback;
}
@property (nonatomic, retain) NSDictionary * dict;
@property (nonatomic, retain) NSArray * results;
@property (nonatomic, retain) NSMutableArray * places;
@property (readwrite, assign) int count;
@property (nonatomic, retain) id delegate;
@property (nonatomic) SEL callback;
@property (nonatomic) SEL errorCallback;
- (void) init:(id)requestDelegate requestSelector:(SEL)requestSelector;
@end