App now processes 'type' strings, information string will now be trimmed

This commit is contained in:
Deniz Duezgoeren
2019-09-13 13:07:20 +02:00
parent c96644ddc7
commit 8764a2778a
5 changed files with 71 additions and 40 deletions
+3 -1
View File
@@ -16,8 +16,9 @@ class SubstModel {
var time: String
var room: String
var teacher: String
var type: String
init(group: String, course: String, additional: String, date: String, time: String, room: String, teacher: String) {
init(group: String, course: String, additional: String, date: String, time: String, room: String, teacher: String, type: String) {
self.group = group
self.course = course
self.additional = additional
@@ -25,5 +26,6 @@ class SubstModel {
self.time = time
self.room = room
self.teacher = teacher
self.type = type
}
}