This repository has been archived by the owner on Apr 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mod list page added.
- Loading branch information
Showing
14 changed files
with
315 additions
and
48 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
Binary file modified
BIN
+11.5 KB
(110%)
SteemitApp.xcworkspace/xcuserdata/mobvenburak.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
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
37 changes: 37 additions & 0 deletions
37
SteemitApp/Controllers/HomeUtopian/ModeratorListViewController.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,37 @@ | ||
// | ||
// ModeratorListViewController.swift | ||
// SteemitApp | ||
// | ||
// Created by Burak Tayfun on 2/18/18. | ||
// Copyright © 2018 Burak Tayfun. All rights reserved. | ||
// | ||
|
||
import UIKit | ||
|
||
class ModeratorListViewController: UIViewController { | ||
|
||
var moderators = [UtopianModeratorModel]() | ||
|
||
override func viewDidLoad() { | ||
navigationItem.title = "Moderators" | ||
navigationController?.navigationBar.topItem?.title = "" | ||
} | ||
|
||
override func prepare(for segue: UIStoryboardSegue, sender: Any?) { | ||
if segue.identifier == "moderatorList" { | ||
let menuVC = segue.destination as! ThoListViewController | ||
var names = [String]() | ||
for mod in moderators { | ||
names.append(mod.name!) | ||
} | ||
menuVC.categoryList = names | ||
menuVC.delegate = self | ||
} | ||
} | ||
} | ||
|
||
extension ModeratorListViewController: ThoListViewControllerDelegate { | ||
func changePage(_ category: String) { | ||
|
||
} | ||
} |
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
Oops, something went wrong.