Proyectos de Subversion Iphone Microlearning - Nuevo Interface

Rev

Rev 1 | Rev 17 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 11
Línea 8... Línea 8...
8
import Foundation
8
import Foundation
Línea 9... Línea 9...
9
 
9
 
10
 
10
 
11
 
11
 
Línea 12... Línea 12...
12
class MyCapsulesInProgressViewModel: ObservableObject {
12
class MyCapsulesInProgressViewModel: ObservableObject {
13
    let appData : AppData = AppData.sharedInstance
13
    let appDao = AppDao.sharedInstance
14
    @Published var capsule : CapsuleModel = CapsuleModel()
14
    @Published var capsule : CapsuleModel = CapsuleModel()
Línea 15... Línea 15...
15
 
15
 
16
    init() {
16
    init() {
-
 
17
        fetch()
17
        fetch()
18
    }
18
    }
19
    
19
    
20
    
Línea 20... Línea 21...
20
    
21
    public func fetch()