This repository has been archived by the owner on Oct 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from ORTUS-Plus/dev
Bug fixes, redesigned grades screen
- Loading branch information
Showing
35 changed files
with
991 additions
and
134 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
22 changes: 22 additions & 0 deletions
22
ORTUS/Extensions/Carbon/ORTUSSelectionNoneTableViewCell.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,22 @@ | ||
// | ||
// ORTUSSelectionNoneTableViewCell.swift | ||
// ORTUS | ||
// | ||
// Created by Firdavs Khaydarov on 8/19/20. | ||
// Copyright © 2020 Firdavs. All rights reserved. | ||
// | ||
|
||
import UIKit | ||
import Carbon | ||
|
||
class ORTUSSelectionNoneTableViewCell: UITableViewCell, ComponentRenderable { | ||
override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { | ||
super.init(style: style, reuseIdentifier: reuseIdentifier) | ||
|
||
selectionStyle = .none | ||
} | ||
|
||
required init?(coder aDecoder: NSCoder) { | ||
fatalError("init(coder:) has not been implemented") | ||
} | ||
} |
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
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,24 @@ | ||
// | ||
// MarkModuleBuilder.swift | ||
// ORTUS | ||
// | ||
// Created by Firdavs Khaydarov on 8/19/20. | ||
// Copyright (c) 2020 Firdavs. All rights reserved. | ||
// | ||
|
||
import Models | ||
|
||
class MarkModuleBuilder: ModuleBuilder { | ||
typealias M = MarkViewController | ||
typealias P = Mark | ||
|
||
static func build(with parameter: Mark, customTransition transition: Transition? = nil) -> MarkViewController { | ||
let router = MarkRouter() | ||
let viewModel = MarkViewModel(mark: parameter, router: router) | ||
let viewController = MarkViewController(viewModel: viewModel) | ||
router.viewController = viewController | ||
router.openTransition = transition | ||
|
||
return viewController | ||
} | ||
} |
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,12 @@ | ||
// | ||
// MarkRouter.swift | ||
// ORTUS | ||
// | ||
// Created by Firdavs Khaydarov on 8/19/20. | ||
// Copyright (c) 2020 Firdavs. All rights reserved. | ||
// | ||
|
||
final class MarkRouter: Router<MarkViewController> { | ||
typealias Routes = Closable | ||
} | ||
|
6 changes: 3 additions & 3 deletions
6
ORTUS/Modules/Grades/GradesView.swift → ORTUS/Modules/Grades/Mark/MarkView.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
Oops, something went wrong.