Fix spelling: accessibility.

This commit is contained in:
Steven Fisher 2015-03-16 11:56:27 -07:00
parent eddcc9a01d
commit fc59abd1cb
3 changed files with 5 additions and 5 deletions

View File

@ -37,7 +37,7 @@
+ (NSString *) getPasswordForUsername: (NSString *) username andServiceName: (NSString *) serviceName error: (NSError **) error;
//uses the default kSecAttrAccessibleWhenUnlocked
+ (BOOL) storeUsername: (NSString *) username andPassword: (NSString *) password forServiceName: (NSString *) serviceName updateExisting: (BOOL) updateExisting error: (NSError **) error;
+ (BOOL) storeUsername: (NSString *) username andPassword: (NSString *) password forServiceName: (NSString *) serviceName updateExisting: (BOOL) updateExisting accessibility:(CFTypeRef) accessiblity error: (NSError **) error;
+ (BOOL) storeUsername: (NSString *) username andPassword: (NSString *) password forServiceName: (NSString *) serviceName updateExisting: (BOOL) updateExisting accessibility:(CFTypeRef) accessibility error: (NSError **) error;
+ (BOOL) deleteItemForUsername: (NSString *) username andServiceName: (NSString *) serviceName error: (NSError **) error;
+ (BOOL) purgeItemsForServiceName:(NSString *) serviceName error: (NSError **) error;

View File

@ -126,7 +126,7 @@ static NSString *BITKeychainUtilsErrorDomain = @"BITKeychainUtilsErrorDomain";
return [self storeUsername:username andPassword:password forServiceName:serviceName updateExisting:updateExisting accessibility:kSecAttrAccessibleWhenUnlocked error:error];
}
+ (BOOL) storeUsername: (NSString *) username andPassword: (NSString *) password forServiceName: (NSString *) serviceName updateExisting: (BOOL) updateExisting accessibility:(CFTypeRef) accessiblity error: (NSError **) error
+ (BOOL) storeUsername: (NSString *) username andPassword: (NSString *) password forServiceName: (NSString *) serviceName updateExisting: (BOOL) updateExisting accessibility:(CFTypeRef) accessibility error: (NSError **) error
{
if (!username || !password || !serviceName)
{
@ -195,7 +195,7 @@ static NSString *BITKeychainUtilsErrorDomain = @"BITKeychainUtilsErrorDomain";
serviceName,
serviceName,
username,
accessiblity,
accessibility,
nil];
NSDictionary *query = [[NSDictionary alloc] initWithObjects: objects forKeys: keys];
@ -221,7 +221,7 @@ static NSString *BITKeychainUtilsErrorDomain = @"BITKeychainUtilsErrorDomain";
serviceName,
username,
[password dataUsingEncoding: NSUTF8StringEncoding],
accessiblity,
accessibility,
nil];
NSDictionary *query = [[NSDictionary alloc] initWithObjects: objects forKeys: keys];

View File

@ -111,7 +111,7 @@ body { font: 13px 'Helvetica Neue', Helvetica; color:#626262; word-wrap:break-wo
if (_webViewContent != aWebViewContent) {
_webViewContent = aWebViewContent;
// add basic accessiblity (prevents "snarfed from ivar layout") logs
// add basic accessibility (prevents "snarfed from ivar layout") logs
self.accessibilityLabel = aWebViewContent;
}
}