Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CoreDataが機能していない.そもそも必要かが微妙な気がしてきた #7

Open
masakazozaki opened this issue Apr 2, 2022 · 0 comments
Labels
spr22 wontfix This will not be worked on 一人で頑張る
Projects

Comments

@masakazozaki
Copy link
Member

音楽を保存するんじゃないかと思ったのでCoreData使おうって言ったけど,getURL()でdocumentフォルダに保存してるから,これならUserDefaultsとかで良い気がする.

getURL()の日付を入れているところで,タイトルと同じ文字列を入れてあげればその名前で音声ファイル保存できる.
Image入れるなら画像もドキュメントディレクトリに入れてしまっても良いかもしれない.

参考: https://softmoco.com/basics/swift-how-to-save-image-file-to-document-directory.php

@masakazozaki masakazozaki created this issue from a note in neko (アプリ甲子園までにやること) Apr 2, 2022
@masakazozaki masakazozaki added wontfix This will not be worked on spr22 一人で頑張る labels Apr 2, 2022
@Miupan Miupan moved this from アプリ甲子園までにやること to Doing in neko Apr 3, 2022
@Miupan Miupan moved this from Doing to Done in neko Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spr22 wontfix This will not be worked on 一人で頑張る
Projects
neko
Done
Development

No branches or pull requests

1 participant