Skip to content
Browse files

Declare collection array to run debug commands on.

  • Loading branch information...
1 parent bc0c1d5 commit 8a7dc5285fbfd447ecd8e5a28be6e07c082ceb9f @perlmunger committed Feb 5, 2013
Showing with 32 additions and 1 deletion.
  1. +2 −0 CollectionSearch/MLViewController.h
  2. +30 −1 CollectionSearch/MLViewController.m
View
2 CollectionSearch/MLViewController.h
@@ -10,4 +10,6 @@
@interface MLViewController : UIViewController
+@property (nonatomic, strong) NSArray *hospitals;
+
@end
View
31 CollectionSearch/MLViewController.m
@@ -17,7 +17,36 @@ @implementation MLViewController
- (void)viewDidLoad
{
[super viewDidLoad];
- // Do any additional setup after loading the view, typically from a nib.
+
+ _hospitals = @[@{@"Hospital" : @"JACKSON MEDICAL CENTER",
+ @"Address" : @"220 Hospital Drive",
+ @"City" : @"Jackson",
+ @"County" : @"Clarke",
+ @"State" : @"AL",
+ @"AnnualERVisitors" : @(3322),
+ @"Zip" : @"36545"},
+ @{@"Hospital" : @"JACKSON MEDICAL CENTER 2",
+ @"Address" : @"227 Hospital Drive",
+ @"City" : @"Jackson",
+ @"County" : @"Clarke",
+ @"State" : @"AL",
+ @"AnnualERVisitors" : @(6422),
+ @"Zip" : @"36545"},
+ @{@"Hospital" : @"PASCO REGIONAL MEDICAL CENTER",
+ @"Address" : @"13100 Ft King Road",
+ @"City" : @"Dade City",
+ @"County" : @"PASCO",
+ @"State" : @"FL",
+ @"AnnualERVisitors" : @(4125),
+ @"Zip" : @"33525"},
+ @{@"Hospital" : @"MACNEAL HOSPITAL",
+ @"Address" : @"3249 South Oak Park Avenue",
+ @"City" : @"Berwyn",
+ @"County" : @"COOK",
+ @"State" : @"IL",
+ @"AnnualERVisitors" : @(4432),
+ @"Zip" : @"60402"}];
+
}
- (void)didReceiveMemoryWarning

0 comments on commit 8a7dc52

Please sign in to comment.
Something went wrong with that request. Please try again.