Actividad torre de hanoi
parent
d4e9431d38
commit
62c8e7e2d3
Binary file not shown.
@ -0,0 +1,28 @@
|
||||
//
|
||||
// ActiveTaskManager.swift
|
||||
// RK-Journals
|
||||
//
|
||||
// Created by Juan David López Regalado on 21/11/24.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import ResearchKit
|
||||
import ResearchKitUI
|
||||
import ResearchKitActiveTask
|
||||
import ResearchKitActiveTask_Private
|
||||
|
||||
|
||||
class ActiveTaskManager {
|
||||
static let shared = ActiveTaskManager()
|
||||
|
||||
func createActiveTasks() -> ORKOrderedTask {
|
||||
|
||||
let towerOfHanoiStep = ORKTowerOfHanoiStep(
|
||||
identifier: "towerOfHanoiStep"
|
||||
)
|
||||
|
||||
|
||||
|
||||
return ORKOrderedTask(identifier: "activeTasks", steps:[towerOfHanoiStep ])
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue