Created
September 8, 2009 14:14
-
-
Save jfahrenkrug/182948 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)controlTextDidEndEditing:(id)sender { | |
if ([sender object] == searchField) { | |
[self searchLocation]; | |
} | |
} | |
- (void)searchLocation { | |
if ([searchField stringValue]) { | |
[mapController moveMapToAddress:[searchField stringValue]]; | |
[locationDetailController setNameIfEmpty:[searchField stringValue]]; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment