Collaboration Changes for Objective-C
Collaboration
CBIdentity.h
Removed -[CBIdentity isHidden]
Removed -[CBUserIdentity isEnabled]
Added CBIdentity.hidden
Added CBUserIdentity.enabled
Declaration | |
---|---|
From | + (CBGroupIdentity *)groupIdentityWithPosixGID:(gid_t)gid authority:(CBIdentityAuthority *)authority |
To | + (CBGroupIdentity * _Nullable)groupIdentityWithPosixGID:(gid_t)gid authority:(CBIdentityAuthority * _Nonnull)authority |
Modified CBGroupIdentity.members
Declaration | Deprecation | |
---|---|---|
From | - (NSArray *)members | -- |
To | @property(readonly, nonatomic, nullable) NSArray *members | OS X 10.11 |
Modified CBGroupIdentity.posixGID
Declaration | |
---|---|
From | - (gid_t)posixGID |
To | @property(readonly, nonatomic) gid_t posixGID |
Modified CBIdentity.aliases
Declaration | |
---|---|
From | - (NSArray *)aliases |
To | @property(readonly, nonatomic, nonnull) NSArray<NSString *> *aliases |
Modified CBIdentity.authority
Declaration | |
---|---|
From | - (CBIdentityAuthority *)authority |
To | @property(readonly, nonatomic, nonnull) CBIdentityAuthority *authority |
Modified CBIdentity.CSIdentity
Declaration | |
---|---|
From | - (CSIdentityRef)CSIdentity |
To | @property(readonly, nonnull) CSIdentityRef CSIdentity |
Modified CBIdentity.emailAddress
Declaration | |
---|---|
From | - (NSString *)emailAddress |
To | @property(readonly, nonatomic, nullable) NSString *emailAddress |
Modified CBIdentity.fullName
Declaration | |
---|---|
From | - (NSString *)fullName |
To | @property(readonly, nonatomic, nonnull) NSString *fullName |
Declaration | |
---|---|
From | + (CBIdentity *)identityWithCSIdentity:(CSIdentityRef)csIdentity |
To | + (CBIdentity * _Nonnull)identityWithCSIdentity:(CSIdentityRef _Nonnull)csIdentity |
Declaration | |
---|---|
From | + (CBIdentity *)identityWithName:(NSString *)name authority:(CBIdentityAuthority *)authority |
To | + (CBIdentity * _Nullable)identityWithName:(NSString * _Nonnull)name authority:(CBIdentityAuthority * _Nonnull)authority |
Declaration | |
---|---|
From | + (CBIdentity *)identityWithPersistentReference:(NSData *)data |
To | + (CBIdentity * _Nullable)identityWithPersistentReference:(NSData * _Nonnull)data |
Declaration | Deprecation | |
---|---|---|
From | + (CBIdentity *)identityWithUUIDString:(NSString *)uuid authority:(CBIdentityAuthority *)authority | -- |
To | + (CBIdentity * _Nullable)identityWithUUIDString:(NSString * _Nonnull)uuid authority:(CBIdentityAuthority * _Nonnull)authority | OS X 10.11 |
Modified CBIdentity.image
Declaration | |
---|---|
From | - (NSImage *)image |
To | @property(readonly, nonatomic, nullable) NSImage *image |
Modified -[CBIdentity isMemberOfGroup:]
Declaration | |
---|---|
From | - (BOOL)isMemberOfGroup:(CBGroupIdentity *)group |
To | - (BOOL)isMemberOfGroup:(CBGroupIdentity * _Nonnull)group |
Modified CBIdentity.persistentReference
Declaration | |
---|---|
From | - (NSData *)persistentReference |
To | @property(readonly, nonatomic, nullable) NSData *persistentReference |
Modified CBIdentity.posixName
Declaration | |
---|---|
From | - (NSString *)posixName |
To | @property(readonly, nonatomic, nonnull) NSString *posixName |
Modified CBIdentity.UUIDString
Declaration | Deprecation | |
---|---|---|
From | - (NSString *)UUIDString | -- |
To | @property(readonly, nonatomic, nonnull) NSString *UUIDString | OS X 10.11 |
Declaration | |
---|---|
From | - (BOOL)authenticateWithPassword:(NSString *)password |
To | - (BOOL)authenticateWithPassword:(NSString * _Nonnull)password |
Modified CBUserIdentity.certificate
Declaration | |
---|---|
From | - (SecCertificateRef)certificate |
To | @property(readonly, nonatomic, nullable) SecCertificateRef certificate |
Modified CBUserIdentity.posixUID
Declaration | |
---|---|
From | - (uid_t)posixUID |
To | @property(readonly, nonatomic) uid_t posixUID |
Declaration | |
---|---|
From | + (CBUserIdentity *)userIdentityWithPosixUID:(uid_t)uid authority:(CBIdentityAuthority *)authority |
To | + (CBUserIdentity * _Nullable)userIdentityWithPosixUID:(uid_t)uid authority:(CBIdentityAuthority * _Nonnull)authority |
CBIdentityAuthority.h
Declaration | |
---|---|
From | - (CSIdentityAuthorityRef)CSIdentityAuthority |
To | @property(readonly, nonnull) CSIdentityAuthorityRef CSIdentityAuthority |
Declaration | |
---|---|
From | + (CBIdentityAuthority *)defaultIdentityAuthority |
To | + (CBIdentityAuthority * _Nonnull)defaultIdentityAuthority |
Declaration | |
---|---|
From | + (CBIdentityAuthority *)identityAuthorityWithCSIdentityAuthority:(CSIdentityAuthorityRef)CSIdentityAuthority |
To | + (CBIdentityAuthority * _Nonnull)identityAuthorityWithCSIdentityAuthority:(CSIdentityAuthorityRef _Nonnull)CSIdentityAuthority |
Declaration | |
---|---|
From | + (CBIdentityAuthority *)localIdentityAuthority |
To | + (CBIdentityAuthority * _Nonnull)localIdentityAuthority |
Modified CBIdentityAuthority.localizedName
Declaration | |
---|---|
From | - (NSString *)localizedName |
To | @property(readonly, nonatomic, nonnull) NSString *localizedName |
Declaration | |
---|---|
From | + (CBIdentityAuthority *)managedIdentityAuthority |
To | + (CBIdentityAuthority * _Nonnull)managedIdentityAuthority |
CBIdentityPicker.h
Declaration | |
---|---|
From | - (BOOL)allowsMultipleSelection |
To | @property(readwrite, nonatomic) BOOL allowsMultipleSelection |
Modified CBIdentityPicker.identities
Declaration | |
---|---|
From | - (NSArray *)identities |
To | @property(readonly, nonatomic, nonnull) NSArray<CBIdentity *> *identities |
Declaration | Deprecation | |
---|---|---|
From | - (void)runModalForWindow:(NSWindow *)window modalDelegate:(id)delegate didEndSelector:(SEL)didEndSelector contextInfo:(void *)contextInfo | -- |
To | - (void)runModalForWindow:(NSWindow * _Nonnull)window modalDelegate:(id _Nullable)delegate didEndSelector:(SEL _Nullable)didEndSelector contextInfo:(void * _Nullable)contextInfo | OS X 10.11 |
Modified CBIdentityPicker.title
Declaration | |
---|---|
From | - (NSString *)title |
To | @property(readwrite, nonatomic, copy, nullable) NSString *title |