71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
-
+
|
[_name release];
_name = [siteStorage.sites[row] retain];
_length = [siteStorage lengthForSite: _name];
_legacy = [siteStorage isSiteLegacy: _name];
self.nameField.text = [_name NSObject];
self.lengthField.text = [NSString stringWithFormat: @"%zu", _length];
self.legacySwitch.enabled = _legacy;
self.legacySwitch.on = _legacy;
}
- (void)viewDidAppear: (BOOL)animated
{
[self.passphraseField becomeFirstResponder];
}
|