Browse Source

VLCKit: remove - (id)initWithArray:(NSArray *)array;

Jean-Baptiste Kempf 13 years ago
parent
commit
fd2d03078d
2 changed files with 0 additions and 17 deletions
  1. 0 6
      Headers/Public/VLCMediaList.h
  2. 0 11
      Sources/VLCMediaList.m

+ 0 - 6
Headers/Public/VLCMediaList.h

@@ -58,12 +58,6 @@ extern NSString * VLCMediaListItemDeleted;
     NSMutableArray * cachedMedia;                   //< Private copy of media objects.
     NSMutableArray * cachedMedia;                   //< Private copy of media objects.
 }
 }
 
 
-/**
- * Init a MediaList with the media contained in array.
- * \array an array of VLCMedia.
- */
-- (id)initWithArray:(NSArray *)array;
-
 /* Operations */
 /* Operations */
 /**
 /**
  * TODO: Documentation - [VLCMediaList lock]
  * TODO: Documentation - [VLCMediaList lock]

+ 0 - 11
Sources/VLCMediaList.m

@@ -86,17 +86,6 @@ static void HandleMediaListItemDeleted( const libvlc_event_t * event, void * use
     return self;
     return self;
 }
 }
 
 
-- (id)initWithArray:(NSArray *)array
-{
-    self = [self init];
-    if (!self)
-        return nil;
-
-    for (VLCMedia *media in array)
-        [self addMedia:media];
-    return self;
-}
-
 - (void)dealloc
 - (void)dealloc
 {
 {
     libvlc_event_manager_t *em = libvlc_media_list_event_manager(p_mlist);
     libvlc_event_manager_t *em = libvlc_media_list_event_manager(p_mlist);