Changeset 4a94f92 in orbit


Ignore:
Timestamp:
12/29/13 12:17:32 (6 years ago)
Author:
Steve Castellotti <sc@…>
Branches:
master, Servo
Children:
57848ad
Parents:
d5f1a91
Message:
  • Comment cleanup
File:
1 edited

Legend:

Unmodified
Added
Removed
  • iOS/Orbit/Orbit/controllers/AdvancedViewController.m

    rd5f1a91 r4a94f92  
    3232//   UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Help Wanted" message:@"Please join our Open Source development community to help us port this feature! See link to Forums under Support tab" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles: nil]; 
    3333//   [alert show]; 
    34     
    35 //   UISwitch *switchTiltSensorControl = [[UISwitch alloc] initWithFrame:CGRectMake(14, 310, 0, 0)]; 
    36 //   [switchTiltSensorControl addTarget:self action:@selector(changeSwitchTiltSensorControl:) forControlEvents:UIControlEventValueChanged]; 
    37 //   [self.view addSubview:switchTiltSensorControl]; 
    38 //    
    39 //   UISwitch *switchTiltSensorControlThrottle = [[UISwitch alloc] initWithFrame:CGRectMake(154, 310, 0, 0)]; 
    40 //   [switchTiltSensorControlThrottle addTarget:self action:@selector(changeSwitchTiltSensorControlThrottle:) forControlEvents:UIControlEventValueChanged]; 
    41 //   [self.view addSubview:switchTiltSensorControlThrottle]; 
    42     
    43    [_switchTiltSensorControlThrottle setOn:NO]; 
    44    [_switchTiltSensorControlThrottle setEnabled:NO]; 
    45     
     34      
    4635} 
    4736 
     
    10190} 
    10291 
    103  
    104 //-(IBAction)Switch { 
    105 //    
    106 //   if (Switch.on) { 
    107 //      label.text = @"The switch is on, button 1 is now shown"; 
    108 //      button1.hidden = NO; 
    109 //      button2.hidden = YES; 
    110 //   } 
    111 //    
    112 //   else { 
    113 //      label.text = @"The switch is on, button 2 is now shown"; 
    114 //      button1.hidden = YES; 
    115 //      button2.hidden = NO; 
    116 //   } 
    117 //    
    118 //} 
    119  
    120  
    121 //- (void)changeSwitchTiltSensorControl:(id)sender{ 
    12292- (IBAction)changeSwitchTiltSensorControl:(id)sender{ 
    12393 
     
    133103} 
    134104 
    135 //- (void)changeSwitchTiltSensorControlThrottle:(id)sender{ 
    136105- (IBAction)changeSwitchTiltSensorControlThrottle:(id)sender{ 
    137106    
Note: See TracChangeset for help on using the changeset viewer.