Documentation Archive Developer
Search

OpenDirectory Changes

OpenDirectory

CFODNode.h
Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

CFODRecord.h
Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

CFOpenDirectoryConstants.h
Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

ODAttributeMap.h
Declaration
From
+ (id)attributeMapWithStaticValue:(NSString *)staticValue
To
+ (instancetype)attributeMapWithStaticValue:(NSString *)staticValue

Declaration
From
+ (id)attributeMapWithValue:(NSString *)value
To
+ (instancetype)attributeMapWithValue:(NSString *)value

ODConfiguration.h
Declaration
From
+ (id)configuration
To
+ (instancetype)configuration

ODMappings.h
Declaration
From
+ (id)mappings
To
+ (instancetype)mappings

ODModuleEntry.h
Declaration
From
+ (id)moduleEntryWithName:(NSString *)name xpcServiceName:(NSString *)xpcServiceName
To
+ (instancetype)moduleEntryWithName:(NSString *)name xpcServiceName:(NSString *)xpcServiceName

ODNode.h
Removed -[ODNode configuration]
Declaration
From
- (id)initWithSession:(ODSession *)inSession name:(NSString *)inName error:(NSError **)outError
To
- (instancetype)initWithSession:(ODSession *)inSession name:(NSString *)inName error:(NSError **)outError

Declaration
From
- (id)initWithSession:(ODSession *)inSession type:(ODNodeType)inType error:(NSError **)outError
To
- (instancetype)initWithSession:(ODSession *)inSession type:(ODNodeType)inType error:(NSError **)outError

Declaration
From
+ (id)nodeWithSession:(ODSession *)inSession name:(NSString *)inName error:(NSError **)outError
To
+ (instancetype)nodeWithSession:(ODSession *)inSession name:(NSString *)inName error:(NSError **)outError

Declaration
From
+ (id)nodeWithSession:(ODSession *)inSession type:(ODNodeType)inType error:(NSError **)outError
To
+ (instancetype)nodeWithSession:(ODSession *)inSession type:(ODNodeType)inType error:(NSError **)outError

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

ODQuery.h
Declaration
From
- (id)initWithNode:(ODNode *)inNode forRecordTypes:(id)inRecordTypeOrList attribute:(ODAttributeType)inAttribute matchType:(ODMatchType)inMatchType queryValues:(id)inQueryValueOrList returnAttributes:(id)inReturnAttributeOrList maximumResults:(NSInteger)inMaximumResults error:(NSError **)outError
To
- (instancetype)initWithNode:(ODNode *)inNode forRecordTypes:(id)inRecordTypeOrList attribute:(ODAttributeType)inAttribute matchType:(ODMatchType)inMatchType queryValues:(id)inQueryValueOrList returnAttributes:(id)inReturnAttributeOrList maximumResults:(NSInteger)inMaximumResults error:(NSError **)outError

ODRecordMap.h
Declaration
From
+ (id)recordMap
To
+ (instancetype)recordMap

ODSession.h
Removed -[ODSession configurationTemplateNames]
Removed -[ODSession mappingTemplateNames]
Declaration
From
+ (id)defaultSession
To
+ (ODSession *)defaultSession

Declaration
From
- (id)initWithOptions:(NSDictionary *)inOptions error:(NSError **)outError
To
- (instancetype)initWithOptions:(NSDictionary *)inOptions error:(NSError **)outError

Declaration
From
+ (id)sessionWithOptions:(NSDictionary *)inOptions error:(NSError **)outError
To
+ (instancetype)sessionWithOptions:(NSDictionary *)inOptions error:(NSError **)outError