Skip to content

Commit

Permalink
Add missing infoDictionary declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Seth Fitzsimmons committed Jan 14, 2011
1 parent 0a9c8e9 commit 2e61820
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Classes/SGController.m
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ - (id)init
self = [super init];

if (self) {
NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];

// default to using this as the delegate for potentially helpful error logging
client = [[SimpleGeo clientWithDelegate:self
consumerKey:[infoDictionary objectForKey:@"CONSUMER_KEY"]
Expand Down

0 comments on commit 2e61820

Please sign in to comment.