-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/quest repository #34
Conversation
Co-Authored-By: Dayeon Lee <43718982+sprituz@users.noreply.github.com>
Co-Authored-By: Dayeon Lee <43718982+sprituz@users.noreply.github.com>
โฆrotocol Feature/quest repository protocol
Co-Authored-By: Jeonhui Lee <48307153+Jeonhui@users.noreply.github.com>
Co-Authored-By: Dayeon Lee <43718982+sprituz@users.noreply.github.com>
Co-Authored-By: Dayeon Lee <43718982+sprituz@users.noreply.github.com>
Co-Authored-By: Dayeon Lee <43718982+sprituz@users.noreply.github.com>
Co-Authored-By: Jeonhui Lee <48307153+Jeonhui@users.noreply.github.com>
Co-Authored-By: Jeonhui Lee <48307153+Jeonhui@users.noreply.github.com>
๊ณ ์ํ์ จ์ต๋๋ค. merge ๋๋๋ฉด QuestView์ชฝ์ ๋ชจ๋ ๋ ์ด์ด ์ฐ๊ฒฐ์ด ๊ฐ๋ฅํ๊ฒ ๋ค์ :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
๊ณ ์ํ์ จ์ต๋๋น ์๋ดค์๋๋ค.
switch access { | ||
case .quests: | ||
do { | ||
try ref.collection("quests") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
collection ์ ๊ทผํ ๋ rawValue๋ ๋ง๋ ๋ณ์๊ฐ์ ๊ฐ์ผ๋ก ์ ๊ทผํด๋ ์ข์ ๊ฒ ๊ฐ์ต๋๋ค.
|
||
do { | ||
let quests = try realmStorage | ||
.fetchEntities(type: QuestEntity.self, filter: NSPredicate(format: "date == %@", date.toString)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
๊ฐ์ธ์ ์ธ ์๊ฒฌ์ ๋๋ค๋ง ๊ฐ๋ฅํ๋ค๋ฉด NSPredicate๋ค์ enum ์ด๋ struct๋ก predicate์ ๋ํด ์ด๋ฆ์ด ์์ผ๋ฉด ํจ์ฌ ์ฝ๊ธฐ ์ฌ์ธ ๊ฒ ๊ฐ์ต๋๋น. ์๋๋ฉด ํจ์ ๋ด์์ let์ผ๋ก ๋นผ๊ฑฐ๋?
๐ Issue Number
Close #33
๐ ์์ ๋ด์ญ
๐ ์์ ์ ํ
๐ ์ฒดํฌ๋ฆฌ์คํธ
๐ PR ํน์ด ์ฌํญ