English topic guide inspired by the original iOS Developer Notebook, expanded for both iOS and Android teams.
@Model final class TaskItem {
var title: String
var done: Bool
init(title: String, done: Bool = false) { self.title = title; self.done = done }
}
@Entity data class TaskEntity(@PrimaryKey val id: String, val title: String, val done: Boolean)
@Dao interface TaskDao { @Query("SELECT * FROM TaskEntity") suspend fun all(): List }