Created
September 8, 2009 14:13
-
-
Save jfahrenkrug/182947 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
/* ------------ Search Field ------------- */ | |
searchField = [CPTextField roundedTextFieldWithStringValue:@"" placeholder:@"Location" width:200.0]; | |
[searchField setFrameOrigin:CGPointMake(510.0, 35.0)]; | |
[searchField setDelegate:self]; | |
[contentView addSubview:searchField]; | |
/* ----------- Search Button ------------------- */ | |
var searchButton = [[CPButton alloc] initWithFrame:CGRectMake(710.0, 37.0, 60.0, 24.0)]; | |
[searchButton setTitle:"Search"]; | |
[searchButton setTarget:self]; | |
[searchButton setAction:@selector(searchLocation)]; | |
[contentView addSubview:searchButton]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment