/samples/SimpleSampleMap/Classes/SimpleSampleMapViewController.m

http://github.com/route-me/route-me · Objective C · 59 lines · 9 code · 15 blank · 35 comment · 0 complexity · 146a1e56aeb42fe83091426222e35b85 MD5 · raw file

  1. //
  2. // SimpleSampleMapViewController.m
  3. // SimpleSampleMap
  4. //
  5. // Created by John Ahrens on 3/14/09.
  6. // Copyright John Ahrens, LLC 2009. All rights reserved.
  7. //
  8. #import "SimpleSampleMapViewController.h"
  9. @implementation SimpleSampleMapViewController
  10. /*
  11. // The designated initializer. Override to perform setup that is required before the view is loaded.
  12. - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
  13. if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
  14. // Custom initialization
  15. }
  16. return self;
  17. }
  18. */
  19. /*
  20. // Implement loadView to create a view hierarchy programmatically, without using a nib.
  21. - (void)loadView {
  22. }
  23. */
  24. /*
  25. // Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
  26. - (void)viewDidLoad {
  27. [super viewDidLoad];
  28. }
  29. */
  30. /*
  31. // Override to allow orientations other than the default portrait orientation.
  32. - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
  33. // Return YES for supported orientations
  34. return (interfaceOrientation == UIInterfaceOrientationPortrait);
  35. }
  36. */
  37. - (void)didReceiveMemoryWarning {
  38. [super didReceiveMemoryWarning]; // Releases the view if it doesn't have a superview
  39. // Release anything that's not essential, such as cached data
  40. }
  41. - (void)dealloc {
  42. [super dealloc];
  43. }
  44. @end