Skip to content

Commit

Permalink
✨ (AccountKit): Add list of professions to assign to caregivers
Browse files Browse the repository at this point in the history
  • Loading branch information
ladislas committed Feb 6, 2024
1 parent 3fd313a commit 57863a7
Show file tree
Hide file tree
Showing 3 changed files with 512 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,21 @@
// Copyright APF France handicap
// SPDX-License-Identifier: Apache-2.0

import AccountKit
import SwiftUI

struct MainView: View {
var body: some View {
Text("Hello, AccountKit!")
.onAppear {
let professions = Professions()
for profession in professions.list {
print("version: \(professions.version)")
print("id: \(profession.id)")
print("name: \(profession.name)")
print("description: \(profession.description)")
}
}
}
}

Expand Down
Loading

0 comments on commit 57863a7

Please sign in to comment.