Commit graph

32 commits

Author SHA1 Message Date
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
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
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
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
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
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