Created
September 8, 2009 14:04
-
-
Save jfahrenkrug/182933 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
/* ------------ Locations --------------- */ | |
locationListView = [[LocationListView alloc] initWithFrame:CGRectMake(0.0, 0.0, 226.0, 400.0)]; | |
[locationListView setContent:[locationsController locations]]; | |
//1: we'll add something later | |
/* --------- Locations ScrollView ---------- */ | |
var locationScrollView = [[CPScrollView alloc] initWithFrame:CGRectMake(10.0, 65.0, 243.0, 400.0)]; | |
[locationScrollView setDocumentView:locationListView]; | |
[locationScrollView setAutohidesScrollers:YES]; | |
[[locationScrollView contentView] setBackgroundColor:[CPColor whiteColor]]; | |
[contentView addSubview:locationScrollView]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment