Remove RotorViewController
This commit is contained in:
parent
f2ae1df445
commit
1d85500912
3 changed files with 0 additions and 88 deletions
|
@ -7,8 +7,6 @@
|
|||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
C027A7751B5C5ED80021FF3A /* RotorViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C027A7731B5C5ED80021FF3A /* RotorViewController.swift */; };
|
||||
C027A7761B5C5ED80021FF3A /* RotorViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = C027A7741B5C5ED80021FF3A /* RotorViewController.xib */; };
|
||||
C04D337F1B5B3F6100E2888E /* Machine.swift in Sources */ = {isa = PBXBuildFile; fileRef = C04D337E1B5B3F6100E2888E /* Machine.swift */; };
|
||||
C0DA3A911B5AACB300D8D68E /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C0DA3A901B5AACB300D8D68E /* AppDelegate.swift */; };
|
||||
C0DA3A931B5AACB300D8D68E /* MachineViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C0DA3A921B5AACB300D8D68E /* MachineViewController.swift */; };
|
||||
|
@ -38,8 +36,6 @@
|
|||
/* End PBXContainerItemProxy section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
C027A7731B5C5ED80021FF3A /* RotorViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RotorViewController.swift; sourceTree = "<group>"; };
|
||||
C027A7741B5C5ED80021FF3A /* RotorViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = RotorViewController.xib; sourceTree = "<group>"; };
|
||||
C04D337E1B5B3F6100E2888E /* Machine.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Machine.swift; sourceTree = "<group>"; };
|
||||
C0DA3A8D1B5AACB300D8D68E /* Enigma.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Enigma.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
C0DA3A901B5AACB300D8D68E /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
|
||||
|
@ -113,8 +109,6 @@
|
|||
C0DA3A9C1B5AACB300D8D68E /* Info.plist */,
|
||||
C0DA3ABE1B5AB49200D8D68E /* Components.swift */,
|
||||
C04D337E1B5B3F6100E2888E /* Machine.swift */,
|
||||
C027A7731B5C5ED80021FF3A /* RotorViewController.swift */,
|
||||
C027A7741B5C5ED80021FF3A /* RotorViewController.xib */,
|
||||
);
|
||||
path = Enigma;
|
||||
sourceTree = "<group>";
|
||||
|
@ -241,7 +235,6 @@
|
|||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
C0DA3A9B1B5AACB300D8D68E /* LaunchScreen.storyboard in Resources */,
|
||||
C027A7761B5C5ED80021FF3A /* RotorViewController.xib in Resources */,
|
||||
C0DA3A981B5AACB300D8D68E /* Assets.xcassets in Resources */,
|
||||
C0DA3A961B5AACB300D8D68E /* Main.storyboard in Resources */,
|
||||
);
|
||||
|
@ -270,7 +263,6 @@
|
|||
files = (
|
||||
C04D337F1B5B3F6100E2888E /* Machine.swift in Sources */,
|
||||
C0DA3ABF1B5AB49200D8D68E /* Components.swift in Sources */,
|
||||
C027A7751B5C5ED80021FF3A /* RotorViewController.swift in Sources */,
|
||||
C0DA3A931B5AACB300D8D68E /* MachineViewController.swift in Sources */,
|
||||
C0DA3A911B5AACB300D8D68E /* AppDelegate.swift in Sources */,
|
||||
);
|
||||
|
|
|
@ -1,45 +0,0 @@
|
|||
//
|
||||
// RotorViewController.swift
|
||||
// Enigma
|
||||
//
|
||||
// Created by Eryn Wells on 2015-07-19.
|
||||
// Copyright © 2015 Eryn Wells. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
||||
class RotorViewController: UIViewController, UIPickerViewDataSource, UIPickerViewDelegate {
|
||||
@IBOutlet weak var titleLabel: UILabel!
|
||||
@IBOutlet weak var rotorPickerView: UIPickerView!
|
||||
|
||||
let rotor: Rotor
|
||||
|
||||
init(rotor: Rotor) {
|
||||
self.rotor = rotor
|
||||
super.init(nibName: nil, bundle: nil)
|
||||
}
|
||||
|
||||
required init(coder aDecoder: NSCoder) {
|
||||
fatalError("init(coder:) has not been implemented")
|
||||
}
|
||||
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
}
|
||||
|
||||
// MARK: - UIPickerViewDataSource
|
||||
|
||||
func numberOfComponentsInPickerView(pickerView: UIPickerView) -> Int {
|
||||
return 1
|
||||
}
|
||||
|
||||
func pickerView(pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int {
|
||||
return Rotor.alphabet.count
|
||||
}
|
||||
|
||||
// MARK: - UIPickerViewDelegate
|
||||
|
||||
func pickerView(pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? {
|
||||
return String(Rotor.alphabet[row])
|
||||
}
|
||||
}
|
|
@ -1,35 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="8121.17" systemVersion="15A216g" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8101.14"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="RotorViewController" customModule="Enigma" customModuleProvider="target">
|
||||
<connections>
|
||||
<outlet property="rotorPickerView" destination="B6G-DY-Yjb" id="Pjq-Xb-533"/>
|
||||
<outlet property="titleLabel" destination="VoV-Sa-FnF" id="GVQ-hB-vkd"/>
|
||||
<outlet property="view" destination="a35-yW-MCu" id="DMP-uu-kcD"/>
|
||||
</connections>
|
||||
</placeholder>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillProportionally" id="a35-yW-MCu">
|
||||
<rect key="frame" x="0.0" y="0.0" width="110" height="200"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VoV-Sa-FnF" userLabel="title">
|
||||
<rect key="frame" x="0.0" y="0.0" width="110" height="18"/>
|
||||
<animations/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<pickerView contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="B6G-DY-Yjb" userLabel="rotor">
|
||||
<rect key="frame" x="0.0" y="18" width="110" height="182"/>
|
||||
<animations/>
|
||||
</pickerView>
|
||||
</subviews>
|
||||
<animations/>
|
||||
<point key="canvasLocation" x="316" y="338"/>
|
||||
</stackView>
|
||||
</objects>
|
||||
</document>
|
Loading…
Add table
Add a link
Reference in a new issue