ACAccountCredential docs wrong/misleading

Originator:danielctull
Number:rdar://13280455 Date Originated:23-Feb-2013 05:23 PM
Status:Open Resolved:
Product:Documentation Product Version:iOS 6.1
Classification:Other Bug Reproducible:Always
 
The documentation for the ACAccountCredential class lists as properties:

@property(nonatomic) NSString *expiryDate
@property(nonatomic, copy) NSString *oauthRefreshToken
@property(nonatomic, copy) NSString *oauthToken

The header only shows:

// This property is only valid for OAuth2 credentials
@property (copy, NS_NONATOMIC_IOSONLY) NSString *oauthToken;

When trying to access expiryDate and oauthRefreshToken. I suspect this is a documentation issue, as there's not really a need to access these properties.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!