31 lines
616 B
Swift
31 lines
616 B
Swift
|
//
|
||
|
// RootViewController.swift
|
||
|
// PhotoRank
|
||
|
//
|
||
|
// Created by Shadowfacts on 8/3/19.
|
||
|
// Copyright © 2019 Shadowfacts. All rights reserved.
|
||
|
//
|
||
|
|
||
|
import UIKit
|
||
|
|
||
|
class RootViewController: UIViewController {
|
||
|
|
||
|
init() {
|
||
|
super.init(nibName: "RootViewController", bundle: .main)
|
||
|
}
|
||
|
|
||
|
required init?(coder: NSCoder) {
|
||
|
fatalError("init(coder:) has not been implemented")
|
||
|
}
|
||
|
|
||
|
override func viewDidLoad() {
|
||
|
super.viewDidLoad()
|
||
|
|
||
|
title = "PhotoRank"
|
||
|
}
|
||
|
|
||
|
@IBAction func choosePhotosPressed() {
|
||
|
show(AssetPickerViewController(), sender: nil)
|
||
|
}
|
||
|
}
|