소스 검색

Forward declare VLCMLMedia

Soomin Lee 7 년 전
부모
커밋
c00f6cd785
3개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      Sources/VLCPlaybackController+MediaLibrary.h
  2. 1 0
      Sources/VLCPlaybackController+MediaLibrary.m
  3. 2 1
      Sources/VLCPlaylistCollectionViewCell.h

+ 1 - 1
Sources/VLCPlaybackController+MediaLibrary.h

@@ -11,8 +11,8 @@
  *****************************************************************************/
 
 #import "VLCPlaybackController.h"
-#import <VLCMediaLibraryKit/VLCMLMedia.h>
 
+@class VLCMLMedia;
 @class NSManagedObject;
 @interface VLCPlaybackController (MediaLibrary)
 - (void)playMediaLibraryObject:(NSManagedObject *)mediaObject;

+ 1 - 0
Sources/VLCPlaybackController+MediaLibrary.m

@@ -13,6 +13,7 @@
 #import "VLCPlaybackController+MediaLibrary.h"
 #import <CoreData/CoreData.h>
 #import <VLCMediaLibraryKit/VLCMLFile.h>
+#import <VLCMediaLibraryKit/VLCMLMedia.h>
 
 @implementation VLCPlaybackController (MediaLibrary)
 

+ 2 - 1
Sources/VLCPlaylistCollectionViewCell.h

@@ -15,7 +15,8 @@
 
 #import <UIKit/UIKit.h>
 #import "VLCLinearProgressIndicator.h"
-#import <VLCMediaLibraryKit/VLCMLMedia.h>
+
+@class VLCMLMedia;
 
 @interface VLCPlaylistCollectionViewCell : UICollectionViewCell