~mike-mayo/openstack-ipad/trunk

« back to all changes in this revision

Viewing changes to Classes/SettingsViewController.m

  • Committer: Mike Mayo
  • Date: 2010-07-26 18:36:20 UTC
  • mfrom: (2.1.5 openstack-ipad)
  • Revision ID: mike.mayo@rackspace.com-20100726183620-j4l25sg9keytcm7y
merging deletes from Joseph Heck

Show diffs side-by-side

added added

removed removed

Lines of Context:
176
176
        UISwitchCell *cell = (UISwitchCell *)[aTableView dequeueReusableCellWithIdentifier:label];
177
177
        
178
178
        if (cell == nil) {
179
 
                cell = [[UISwitchCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:label delegate:self action:action value:value];        
 
179
                cell = [[UISwitchCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:label delegate:self action:action value:value];
 
180
        passwordLockSwitch = cell.uiSwitch;
 
181
        [cell autorelease];
180
182
        }
181
183
    
182
184
    // handle orientation placement issues