Documentation Archive Developer
Search

Collaboration Changes for Objective-C

Collaboration

CBIdentity.h

Declaration
From
+ (CBGroupIdentity *)groupIdentityWithPosixGID:(gid_t)gid authority:(CBIdentityAuthority *)authority
To
+ (CBGroupIdentity * _Nullable)groupIdentityWithPosixGID:(gid_t)gid authority:(CBIdentityAuthority * _Nonnull)authority

DeclarationDeprecation
From
- (NSArray *)members
--
To
@property(readonly, nonatomic, nullable) NSArray *members
OS X 10.11

Declaration
From
- (gid_t)posixGID
To
@property(readonly, nonatomic) gid_t posixGID

Declaration
From
- (NSArray *)aliases
To
@property(readonly, nonatomic, nonnull) NSArray<NSString *> *aliases

Declaration
From
- (CBIdentityAuthority *)authority
To
@property(readonly, nonatomic, nonnull) CBIdentityAuthority *authority

Declaration
From
- (CSIdentityRef)CSIdentity
To
@property(readonly, nonnull) CSIdentityRef CSIdentity

Declaration
From
- (NSString *)emailAddress
To
@property(readonly, nonatomic, nullable) NSString *emailAddress

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

DeclarationDeprecation
From
+ (CBIdentity *)identityWithUUIDString:(NSString *)uuid authority:(CBIdentityAuthority *)authority
--
To
+ (CBIdentity * _Nullable)identityWithUUIDString:(NSString * _Nonnull)uuid authority:(CBIdentityAuthority * _Nonnull)authority
OS X 10.11

Declaration
From
- (NSImage *)image
To
@property(readonly, nonatomic, nullable) NSImage *image

Declaration
From
- (BOOL)isMemberOfGroup:(CBGroupIdentity *)group
To
- (BOOL)isMemberOfGroup:(CBGroupIdentity * _Nonnull)group

Declaration
From
- (NSData *)persistentReference
To
@property(readonly, nonatomic, nullable) NSData *persistentReference

Declaration
From
- (NSString *)posixName
To
@property(readonly, nonatomic, nonnull) NSString *posixName

DeclarationDeprecation
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

Declaration
From
- (SecCertificateRef)certificate
To
@property(readonly, nonatomic, nullable) SecCertificateRef certificate

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

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

Declaration
From
- (NSArray *)identities
To
@property(readonly, nonatomic, nonnull) NSArray<CBIdentity *> *identities

DeclarationDeprecation
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

Declaration
From
- (NSString *)title
To
@property(readwrite, nonatomic, copy, nullable) NSString *title