MediaLibrary Changes for Objective-C
MediaLibrary
MLMediaGroup.h
Modified MLMediaGroup.attributes
Declaration | |
---|---|
From | @property(readonly, copy) NSDictionary *attributes |
To | @property(readonly, copy, nonnull) NSDictionary<NSString *,id> *attributes |
Modified MLMediaGroup.childGroups
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *childGroups |
To | @property(readonly, copy, nullable) NSArray<MLMediaGroup *> *childGroups |
Modified MLMediaGroup.iconImage
Declaration | |
---|---|
From | @property(readonly, copy) NSImage *iconImage |
To | @property(readonly, copy, nullable) NSImage *iconImage |
Modified MLMediaGroup.identifier
Declaration | |
---|---|
From | @property(readonly, copy) NSString *identifier |
To | @property(readonly, copy, nonnull) NSString *identifier |
Modified MLMediaGroup.mediaLibrary
Declaration | |
---|---|
From | @property(readonly, assign) MLMediaLibrary *mediaLibrary |
To | @property(readonly, assign, nullable) MLMediaLibrary *mediaLibrary |
Modified MLMediaGroup.mediaObjects
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *mediaObjects |
To | @property(readonly, copy, nullable) NSArray<MLMediaObject *> *mediaObjects |
Modified MLMediaGroup.mediaSourceIdentifier
Declaration | |
---|---|
From | @property(readonly, copy) NSString *mediaSourceIdentifier |
To | @property(readonly, copy, nonnull) NSString *mediaSourceIdentifier |
Modified MLMediaGroup.modificationDate
Declaration | |
---|---|
From | @property(readonly, copy) NSDate *modificationDate |
To | @property(readonly, copy, nullable) NSDate *modificationDate |
Modified MLMediaGroup.name
Declaration | |
---|---|
From | @property(readonly, copy) NSString *name |
To | @property(readonly, copy, nullable) NSString *name |
Modified MLMediaGroup.parent
Declaration | |
---|---|
From | @property(readonly, assign) MLMediaGroup *parent |
To | @property(readonly, assign, nullable) MLMediaGroup *parent |
Modified MLMediaGroup.typeIdentifier
Declaration | |
---|---|
From | @property(readonly, copy) NSString *typeIdentifier |
To | @property(readonly, copy, nonnull) NSString *typeIdentifier |
Modified MLMediaGroup.URL
Declaration | |
---|---|
From | @property(readonly, copy) NSURL *URL |
To | @property(readonly, copy, nullable) NSURL *URL |
MLMediaLibrary.h
Modified -[MLMediaLibrary initWithOptions:]
Declaration | |
---|---|
From | - (instancetype)initWithOptions:(NSDictionary *)options |
To | - (instancetype _Nonnull)initWithOptions:(NSDictionary<NSString *,id> * _Nonnull)options |
Modified MLMediaLibrary.mediaSources
Declaration | |
---|---|
From | @property(readonly, copy) NSDictionary *mediaSources |
To | @property(readonly, copy, nullable) NSDictionary<NSString *,MLMediaSource *> *mediaSources |
MLMediaObject.h
Modified MLMediaObject.artworkImage
Declaration | |
---|---|
From | @property(readonly, copy) NSImage *artworkImage |
To | @property(readonly, copy, nullable) NSImage *artworkImage |
Modified MLMediaObject.attributes
Declaration | |
---|---|
From | @property(readonly, copy) NSDictionary *attributes |
To | @property(readonly, copy, nonnull) NSDictionary<NSString *,id> *attributes |
Modified MLMediaObject.contentType
Declaration | |
---|---|
From | @property(readonly, copy) NSString *contentType |
To | @property(readonly, copy, nullable) NSString *contentType |
Modified MLMediaObject.identifier
Declaration | |
---|---|
From | @property(readonly, copy) NSString *identifier |
To | @property(readonly, copy, nonnull) NSString *identifier |
Modified MLMediaObject.mediaLibrary
Declaration | |
---|---|
From | @property(readonly, assign) MLMediaLibrary *mediaLibrary |
To | @property(readonly, assign, nullable) MLMediaLibrary *mediaLibrary |
Modified MLMediaObject.mediaSourceIdentifier
Declaration | |
---|---|
From | @property(readonly, copy) NSString *mediaSourceIdentifier |
To | @property(readonly, copy, nonnull) NSString *mediaSourceIdentifier |
Modified MLMediaObject.modificationDate
Declaration | |
---|---|
From | @property(readonly, copy) NSDate *modificationDate |
To | @property(readonly, copy, nullable) NSDate *modificationDate |
Modified MLMediaObject.name
Declaration | |
---|---|
From | @property(readonly, copy) NSString *name |
To | @property(readonly, copy, nullable) NSString *name |
Modified MLMediaObject.originalURL
Declaration | |
---|---|
From | @property(readonly, copy) NSURL *originalURL |
To | @property(readonly, copy, nullable) NSURL *originalURL |
Modified MLMediaObject.thumbnailURL
Declaration | |
---|---|
From | @property(readonly, copy) NSURL *thumbnailURL |
To | @property(readonly, copy, nullable) NSURL *thumbnailURL |
Modified MLMediaObject.URL
Declaration | |
---|---|
From | @property(readonly, copy) NSURL *URL |
To | @property(readonly, copy, nullable) NSURL *URL |
MLMediaSource.h
Modified MLMediaSource.attributes
Declaration | |
---|---|
From | @property(readonly, copy) NSDictionary *attributes |
To | @property(readonly, copy, nonnull) NSDictionary<NSString *,id> *attributes |
Declaration | |
---|---|
From | - (MLMediaGroup *)mediaGroupForIdentifier:(NSString *)mediaGroupIdentifier |
To | - (MLMediaGroup * _Nullable)mediaGroupForIdentifier:(NSString * _Nonnull)mediaGroupIdentifier |
Declaration | |
---|---|
From | - (NSDictionary *)mediaGroupsForIdentifiers:(NSArray *)mediaGroupIdentifiers |
To | - (NSDictionary<NSString *,MLMediaGroup *> * _Nonnull)mediaGroupsForIdentifiers:(NSArray<NSString *> * _Nonnull)mediaGroupIdentifiers |
Modified MLMediaSource.mediaLibrary
Declaration | |
---|---|
From | @property(readonly, assign) MLMediaLibrary *mediaLibrary |
To | @property(readonly, assign, nullable) MLMediaLibrary *mediaLibrary |
Declaration | |
---|---|
From | - (MLMediaObject *)mediaObjectForIdentifier:(NSString *)mediaObjectIdentifier |
To | - (MLMediaObject * _Nullable)mediaObjectForIdentifier:(NSString * _Nonnull)mediaObjectIdentifier |
Declaration | |
---|---|
From | - (NSDictionary *)mediaObjectsForIdentifiers:(NSArray *)mediaObjectIdentifiers |
To | - (NSDictionary<NSString *,MLMediaObject *> * _Nonnull)mediaObjectsForIdentifiers:(NSArray<NSString *> * _Nonnull)mediaObjectIdentifiers |
Modified MLMediaSource.mediaSourceIdentifier
Declaration | |
---|---|
From | @property(readonly, copy) NSString *mediaSourceIdentifier |
To | @property(readonly, copy, nonnull) NSString *mediaSourceIdentifier |
Modified MLMediaSource.rootMediaGroup
Declaration | |
---|---|
From | @property(readonly, retain) MLMediaGroup *rootMediaGroup |
To | @property(readonly, retain, nullable) MLMediaGroup *rootMediaGroup |