Commit graph

45 commits

Author SHA1 Message Date
fc13e4ad3e [Plugboard] Nav controller and a clear button 2015-07-27 11:25:39 -07:00
2f16f17cb4 [Plugboard] Drag lines 2015-07-27 09:45:49 -07:00
52cde95097 Add Picker project to workspace 2015-07-26 07:27:18 -07:00
c77be6616e Add Picker project to repo 2015-07-26 07:26:52 -07:00
3cdef70c87 Add Enigma workspace containing both the Enigma and Plugboard projects 2015-07-26 07:23:33 -07:00
77a6d5b299 Move Plugboard project into Enigma repo 2015-07-26 07:20:17 -07:00
00fbebcc1e UI that works! It encodes strings! 2015-07-21 21:12:51 -07:00
949ef629d3 String input/output UI works! 2015-07-21 20:36:48 -07:00
d3df0d49ad Little bit of code clean up 2015-07-21 20:25:01 -07:00
c96c0bd0fc Rename ViewController -> MachineViewController 2015-07-21 20:21:54 -07:00
358c67cdfb Change deploy target to iOS 8.0 2015-07-21 20:20:29 -07:00
1d85500912 Remove RotorViewController 2015-07-21 20:19:36 -07:00
f2ae1df445 Silly UI to encode input to output 2015-07-20 21:12:29 -07:00
f461fbf237 MachineViewController 2015-07-20 21:12:16 -07:00
ff0cf30cc0 Add RotorViewController 2015-07-19 15:52:14 -07:00
c3a4f085f1 Test fixes 2015-07-19 12:41:50 -07:00
700ad655c2 Allow turning on/off the rotor advance 2015-07-19 12:41:42 -07:00
f6f870d7dd Do the rotors right!
Major thanks to Aimee. ^_^
2015-07-19 12:41:29 -07:00
07073b9dc1 A test that the machine is advancing rotors property 2015-07-19 09:17:53 -07:00
b6b96ed770 Advance the rotors 2015-07-19 08:45:18 -07:00
b5cac3d137 Unit tests for inverse encoding and ring settings 2015-07-19 08:40:29 -07:00
d51dc352de Miscellaneous comments about stuff 2015-07-19 08:21:11 -07:00
ed6d06015d Rotor.notch
The turnover point for the adjacent rotor
2015-07-19 08:20:55 -07:00
00328dd0c3 Documentation about Ringstellung 2015-07-19 08:20:33 -07:00
ef45cb9718 Implement indexOf methods for alphabet and series
These methods are implemented on the classes that own those sequences. Less confusion is good. :)
2015-07-19 08:20:16 -07:00
9345b4e3f9 testThatTheMachineTurnsOn 2015-07-19 01:30:38 -07:00
b3bc058c1d Do rotors in the right directions, with inverted encoding as needed 2015-07-19 01:30:19 -07:00
799de761dc Add ringPosition 2015-07-19 01:29:55 -07:00
a01af97ffc Wiring init() for Rotors 2015-07-19 01:28:46 -07:00
e586c7e03d inverseEncode 2015-07-19 01:28:18 -07:00
586eacb2b5 Remove dead files 2015-07-19 00:01:35 -07:00
23c9676adc Add a bunch of standard wirings for rotors 2015-07-19 00:01:19 -07:00
9a7353e973 Expand Reflector to valid reflection series 2015-07-19 00:00:59 -07:00
6a2e4fd44e Rename Enigma.swift -> Machine.swift 2015-07-18 23:01:30 -07:00
bb1ba6a1fc Rename Rotor.swift -> Components.swift 2015-07-18 23:00:26 -07:00
b7798d2dcd Clean up components 2015-07-18 22:59:58 -07:00
cb437b7d96 Add Enigma.swift 2015-07-18 22:23:29 -07:00
ed0b46b601 A Plugboard
Along the way refactored some things into a super class called Cryptor
2015-07-18 18:37:58 -07:00
f997e84639 Add rot13 test for Rotor
This test checks the modulo functionality.

This change also refactors how tests are set up. Each test is responsible for creating its own rotor.
2015-07-18 10:47:14 -07:00
ccc1244e0c Remove boilerplate tests 2015-07-18 10:45:34 -07:00
31774fbc07 Basic unit test for unadvanced Rotor 2015-07-18 10:39:53 -07:00
56ae8cc5bb Comment InvalidCharacter error 2015-07-18 10:39:37 -07:00
9f2106ed94 Advance rotor by count positions
Default value of parameter is 1
2015-07-18 10:39:25 -07:00
f4b3982986 Rotor class 2015-07-18 10:23:54 -07:00
b3a98177bb Initial Commit 2015-07-18 08:48:07 -07:00