ios – Tips on how to save “albums” in Swift & SwiftUI (Music App)

0
55


INTRO
I’m new to swift and swiftui. I’ve been creating tasks to extend my expertise in ios improvement and hopefully land a job in ios improvement.

PROBLEM

My present venture is a Music App and it principally will get the consumer to obtain an mp3 file and add it to the app utilizing FileManager. The issue now’s storing of albums and the creation of 1.

I couldn’t wrap my head round learn how to save such knowledge.

My first resolution is:

  • to create a folder when the consumer creates an album and push the file there (principally copying and pasting the identical file).

the issue with that’s the cupboard space

My second resolution (which isn’t but confirmed) is

  • to create a textual content or any knowledge file that would give out the record of songs in a album which might be 100% higher than the primary resolution.

P.S.
That is only a facet venture so a streaming/on-line database shouldn’t be a viable resolution for me as I haven’t got any cash for that. (and sure even free tiers since I haven’t got any bank cards)

I’m not certain but what I’ll do with it.