• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Memory Question on returning a View
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Memory Question on returning a View
      • From: Graham Cox <email@hidden>
    • Re: Memory Question on returning a View
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: Quicktime Movie View error
  • Next by Date: Determining if a user is logged in from a Launchd Daemon
  • Previous by thread: NSArrayController won't "add", and "delete" removes both the record & selectable item
  • Next by thread: Re: Memory Question on returning a View
  • Index(es):
    • Date
    • Thread