-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adaptive mode for exam application (#346)
* Create RecommendationsService * Create ReactionService * Display segmented control * Create FileStorage * Cache knowledge graph data * Set connections for steps with lessons if needed * Fetch and show adaptive steps * Fix scroll view lagging bug * Set need new attempt for adaptive steps * Implement send reaction method * Create StepModuleSeed * Restructure code * Create compound StepsAssembly
- Loading branch information
1 parent
af08776
commit 57bfa5c
Showing
130 changed files
with
2,914 additions
and
441 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
ExamEGERussian/Sources/BusinessLogicLayer/Services/GraphService/GraphServiceImpl.swift
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
ExamEGERussian/Sources/BusinessLogicLayer/Services/GraphService/GraphServiceProtocol.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// | ||
// GraphServiceProtocol.swift | ||
// ExamEGERussian | ||
// | ||
// Created by Ivan Magda on 18/07/2018. | ||
// Copyright © 2018 Alex Karpov. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
import PromiseKit | ||
|
||
protocol GraphServiceProtocol: class { | ||
/// Method is used to fetch `KnowledgeGraphPlainObject` object from API. | ||
/// | ||
/// - Returns: Promise with a result of `KnowledgeGraphPlainObject`. | ||
func fetchGraph() -> Promise<KnowledgeGraphPlainObject> | ||
/// Method is used to obtain `KnowledgeGraphPlainObject` object from cache. | ||
/// | ||
/// - Returns: Promise with `KnowledgeGraphPlainObject` from cache. | ||
func obtainGraph() -> Promise<KnowledgeGraphPlainObject> | ||
} |
Oops, something went wrong.