You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When defining a dictionary with keys that have a typecast the formatting is off, concatenating the typecast to the previous line instead of having it prefix the key.
What I would like to see:
NSDictionary *passwordQuery = @{
(__bridge id)kSecClass: (__bridge id)kSecClassGenericPassword,
(__bridge id)kSecReturnData: (__bridge id)kCFBooleanTrue,
(__bridge id)kSecReturnAttributes: (__bridge id)kCFBooleanTrue,
};
Extended Description
When defining a dictionary with keys that have a typecast the formatting is off, concatenating the typecast to the previous line instead of having it prefix the key.
What I would like to see:
NSDictionary *passwordQuery = @{
(__bridge id)kSecClass: (__bridge id)kSecClassGenericPassword,
(__bridge id)kSecReturnData: (__bridge id)kCFBooleanTrue,
(__bridge id)kSecReturnAttributes: (__bridge id)kCFBooleanTrue,
};
Actual formatting:
NSDictionary *passwordQuery = @{
(__bridge id)kSecClass: (__bridge id)kSecClassGenericPassword, (__bridge id)
kSecReturnData: (__bridge id)kCFBooleanTrue, (__bridge id)
kSecReturnAttributes: (__bridge id)kCFBooleanTrue,
};
See attached the format file used.
The text was updated successfully, but these errors were encountered: