feat(ios): tab tabanlı navigasyon ve okuma durumu takibi ekle

This commit is contained in:
2026-02-11 18:26:17 +03:00
parent 52212f015b
commit 362b9b7d1b
16 changed files with 976 additions and 442 deletions

View File

@@ -0,0 +1,34 @@
import Foundation
import SwiftUI
enum ReadingStatus: String, CaseIterable, Codable, Identifiable {
case wantToRead
case reading
case finished
var id: String { rawValue }
var title: String {
switch self {
case .wantToRead: return "Want to Read"
case .reading: return "Reading"
case .finished: return "Finished"
}
}
var symbol: String {
switch self {
case .wantToRead: return "bookmark"
case .reading: return "book"
case .finished: return "checkmark.circle"
}
}
var color: Color {
switch self {
case .wantToRead: return .orange
case .reading: return .blue
case .finished: return .green
}
}
}