-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
069e560
commit 7228ef9
Showing
4 changed files
with
79 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
Sources/MusanovaKit/Music Summary/Milestones/MusicSummaryMilestones.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// | ||
// MusicSummaryMilestones.swift | ||
// MusanovaKit | ||
// | ||
// Created by Rudrank Riyam on 07/04/23. | ||
// | ||
|
||
/// A collection of `MusicSummaryMilestone` objects. | ||
/// | ||
/// The `MusicSummaryMilestones` typealias is a convenient way to represent a collection | ||
/// of `MusicSummaryMilestone` objects. It is an alias for an array of `MusicSummaryMilestone`. | ||
/// | ||
/// Example usage: | ||
/// | ||
/// let milestones: MusicSummaryMilestones = ... | ||
/// | ||
/// for milestone in milestones { | ||
/// print("ID: \(milestone.id), Listen Time: \(milestone.listenTimeInMinutes)") | ||
/// print("Date Reached: \(milestone.dateReached), Value: \(milestone.value)") | ||
/// print("Kind: \(milestone.kind)") | ||
/// } | ||
/// | ||
public typealias MusicSummaryMilestones = [MusicSummaryMilestone] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters