IJItemPropertiesViewController.m 471 B

12345678910111213141516171819202122
  1. //
  2. // IJItemPropertiesViewController.m
  3. // InsideJob
  4. //
  5. // Created by Adam Preble on 10/9/10.
  6. // Copyright 2010 Adam Preble. All rights reserved.
  7. //
  8. #import "IJItemPropertiesViewController.h"
  9. #import "IJInventoryItem.h"
  10. @implementation IJItemPropertiesViewController
  11. @synthesize item;
  12. - (void)cancelOperation:(id)sender
  13. {
  14. // Somewhat hacky method of closing the window on Esc. Depends on us being the window's delegate.
  15. [self.view.window orderOut:nil];
  16. }
  17. @end