mirror of
https://github.com/danbee/persephone
synced 2025-03-04 08:39:11 +00:00
18 lines
356 B
Swift
18 lines
356 B
Swift
//
|
|
// AlbumTracksDataSource.swift
|
|
// Persephone
|
|
//
|
|
// Created by Daniel Barber on 2019/5/19.
|
|
// Copyright © 2019 Dan Barber. All rights reserved.
|
|
//
|
|
|
|
import AppKit
|
|
|
|
class AlbumTracksDataSource: NSObject, NSTableViewDataSource {
|
|
var albumTracks: [Song] = []
|
|
|
|
func numberOfRows(in tableView: NSTableView) -> Int {
|
|
return albumTracks.count
|
|
}
|
|
}
|