Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 6th, 2012  |  syntax: None  |  size: 0.94 KB  |  hits: 17  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. //
  2. //  Data.h
  3. //  TouchMe
  4. //
  5. //  Created by dev4 on 7/22/10.
  6. //  Copyright 2010 __MyCompanyName__. All rights reserved.
  7. //
  8.  
  9. #import <Foundation/Foundation.h>
  10.  
  11.  
  12. @interface Data : NSObject {
  13.        
  14.         NSString *name;
  15.         NSString *address;
  16.         NSString *city;
  17.         NSString *state;
  18.         NSString *zip;
  19.         NSString *phone;
  20.         NSString *lat;
  21.         NSString *lng;
  22.  
  23. }
  24.  
  25. @property (nonatomic,retain)NSString *name;
  26. @property (nonatomic,retain)NSString *address;
  27. @property (nonatomic,retain)NSString *city;
  28. @property (nonatomic,retain)NSString *state;
  29. @property (nonatomic,retain)NSString *zip;
  30. @property (nonatomic,retain)NSString *phone;
  31. @property (nonatomic,retain)NSString *lat;
  32. @property (nonatomic,retain)NSString *lng;
  33.  
  34.  
  35. -(id)init;
  36. -(id)initWithName:(NSString*)n WithAddr:(NSString *)addr
  37.                  WithCity:(NSString *)c WithState:(NSString *)s
  38.                   WithZip:(NSString *)z WithZipPhone:(NSString *)ph
  39.                   WithLat:(NSString *)lt WithLong:(NSString *)ln;
  40.  
  41. @end