project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m
changeset 5002 a9c44a8ffec8
parent 4976 088d40d8aba2
child 5208 878e551f0b4a
equal deleted inserted replaced
5001:312f4dd41753 5002:a9c44a8ffec8
    19  */
    19  */
    20 
    20 
    21 
    21 
    22 #import "SchemeWeaponConfigViewController.h"
    22 #import "SchemeWeaponConfigViewController.h"
    23 #import "CommodityFunctions.h"
    23 #import "CommodityFunctions.h"
    24 #import "SDL_uikitappdelegate.h"
       
    25 
    24 
    26 #define LABEL_TAG 57423
    25 #define LABEL_TAG 57423
    27 
    26 
    28 @implementation SchemeWeaponConfigViewController
    27 @implementation SchemeWeaponConfigViewController
    29 @synthesize listOfSchemes, listOfWeapons, lastIndexPath_sc, lastIndexPath_we, selectedScheme, selectedWeapon, syncSwitch;
    28 @synthesize listOfSchemes, listOfWeapons, lastIndexPath_sc, lastIndexPath_we, selectedScheme, selectedWeapon, syncSwitch;
   260 }
   259 }
   261 
   260 
   262 #pragma mark -
   261 #pragma mark -
   263 #pragma mark Memory management
   262 #pragma mark Memory management
   264 -(void) didReceiveMemoryWarning {
   263 -(void) didReceiveMemoryWarning {
   265     if ([[SDLUIKitDelegate sharedAppDelegate] isInGame]) {
   264     if ([[HedgewarsAppDelegate sharedAppDelegate] isInGame]) {
   266         self.lastIndexPath_sc = nil;
   265         self.lastIndexPath_sc = nil;
   267         self.lastIndexPath_we = nil;
   266         self.lastIndexPath_we = nil;
   268         self.listOfSchemes = nil;
   267         self.listOfSchemes = nil;
   269         self.listOfWeapons = nil;
   268         self.listOfWeapons = nil;
   270         self.syncSwitch = nil;
   269         self.syncSwitch = nil;