Fix iOS compiler warning.

This commit is contained in:
Ryan Heise 2020-12-23 19:42:41 +11:00
parent 86a880a08a
commit 1366509bee
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
@property (readonly, nonatomic) int count; @property (readonly, nonatomic) int count;
- (instancetype)initWithId:(NSString *)sid audioSources:(NSMutableArray<AudioSource *> *)audioSources shuffleOrder:(NSMutableArray<NSNumber *> *)shuffleOrder; - (instancetype)initWithId:(NSString *)sid audioSources:(NSMutableArray<AudioSource *> *)audioSources shuffleOrder:(NSArray<NSNumber *> *)shuffleOrder;
- (void)insertSource:(AudioSource *)audioSource atIndex:(int)index; - (void)insertSource:(AudioSource *)audioSource atIndex:(int)index;
- (void)removeSourcesFromIndex:(int)start toIndex:(int)end; - (void)removeSourcesFromIndex:(int)start toIndex:(int)end;
- (void)moveSourceFromIndex:(int)currentIndex toIndex:(int)newIndex; - (void)moveSourceFromIndex:(int)currentIndex toIndex:(int)newIndex;

View File

@ -5,7 +5,7 @@
@property (readonly, nonatomic) int count; @property (readonly, nonatomic) int count;
- (instancetype)initWithId:(NSString *)sid audioSources:(NSMutableArray<AudioSource *> *)audioSources shuffleOrder:(NSMutableArray<NSNumber *> *)shuffleOrder; - (instancetype)initWithId:(NSString *)sid audioSources:(NSMutableArray<AudioSource *> *)audioSources shuffleOrder:(NSArray<NSNumber *> *)shuffleOrder;
- (void)insertSource:(AudioSource *)audioSource atIndex:(int)index; - (void)insertSource:(AudioSource *)audioSource atIndex:(int)index;
- (void)removeSourcesFromIndex:(int)start toIndex:(int)end; - (void)removeSourcesFromIndex:(int)start toIndex:(int)end;
- (void)moveSourceFromIndex:(int)currentIndex toIndex:(int)newIndex; - (void)moveSourceFromIndex:(int)currentIndex toIndex:(int)newIndex;