Memory Question on returning a View
Memory Question on returning a View
- Subject: Memory Question on returning a View
- From: James Cicenia <email@hidden>
- Date: Fri, 6 Feb 2009 15:13:14 -0600
Hello -
I have the example code:
Can I do this.. return a view and it will stick around?
Thanks
James Cicenia
-(UIView *)mapViewForMonthAndType:(NSString *) pMonth type:(NSString)
pType{
AppDelegate *appDelegate = (AppDelegate *)[[UIApplication
sharedApplication] delegate];
NSEnumerator *itemEnum = [availabilityArray objectEnumerator];
AvailableItem *item = nil;
UIImageView *stateView = [[UIImageView
alloc]initWithFrame:CGRectMake(0,0, 320, 220)];
[stateView setImage: [UIImage imageNamed:@"wf-map-back.png"]];
return stateView;
}
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden