Commit Graph

  • e2a54c7b89 Adds EditSkill view to allow editing a specific skill. Tom Hicks 2021-03-21 17:25:28 -07:00
  • 106b41d2ee Adds MCAbilityScorePicker. Tom Hicks 2021-03-21 17:25:00 -07:00
  • 6565d0a82d Adds MCAbilityScorePicker. Tom Hicks 2021-03-21 17:25:00 -07:00
  • 861bae24d6 Adds EditSkills view bound to the monster view model's skills. Tom Hicks 2021-03-21 16:18:04 -07:00
  • 99298d3f28 Adds EditSkills view bound to the monster view model's skills. Tom Hicks 2021-03-21 16:18:04 -07:00
  • e25e37c871 Moves saving throws from EditMonster to a sub view. Tom Hicks 2021-03-21 14:47:15 -07:00
  • 3a7125ee88 Moves saving throws from EditMonster to a sub view. Tom Hicks 2021-03-21 14:47:15 -07:00
  • 21eae233f3 Moves ability scores from EditMonster to a sub view. Tom Hicks 2021-03-21 14:42:07 -07:00
  • 5dee63fe54 Moves ability scores from EditMonster to a sub view. Tom Hicks 2021-03-21 14:42:07 -07:00
  • 7bef443ead Moves speed info from EditMonster to a sub view. Tom Hicks 2021-03-21 14:38:13 -07:00
  • 5a9a1e87d3 Moves speed info from EditMonster to a sub view. Tom Hicks 2021-03-21 14:38:13 -07:00
  • ecfdf7ae58 Fixes the fetched monster on MonsterDetail not updating when the EditMonster view saves. Tom Hicks 2021-03-21 14:37:11 -07:00
  • 920c3ca15e Fixes the fetched monster on MonsterDetail not updating when the EditMonster view saves. Tom Hicks 2021-03-21 14:37:11 -07:00
  • d90c32691a Changes the NavigationView to stack navigation style so the save button on EditMonster takes you back to MonsterDetail instead of the root of the NavigationView. Tom Hicks 2021-03-21 14:23:38 -07:00
  • c1bf39aba7 Changes the NavigationView to stack navigation style so the save button on EditMonster takes you back to MonsterDetail instead of the root of the NavigationView. Tom Hicks 2021-03-21 14:23:38 -07:00
  • b83a88c1f2 Moves editing armor to a sub view of EditMonster. Tom Hicks 2021-03-21 14:22:30 -07:00
  • c204a6baaf Moves editing armor to a sub view of EditMonster. Tom Hicks 2021-03-21 14:22:30 -07:00
  • 9f0896943f Moves Basic Info section of the monster editor to a sub view. Tom Hicks 2021-03-21 14:13:10 -07:00
  • c3feaf4f64 Moves Basic Info section of the monster editor to a sub view. Tom Hicks 2021-03-21 14:13:10 -07:00
  • a6ad738d48 Fixes some bugs with how the editing monster is passed around. Removes the custom cancel since we don't need it now. Tom Hicks 2021-03-21 14:07:11 -07:00
  • 15e3cd3810 Fixes some bugs with how the editing monster is passed around. Removes the custom cancel since we don't need it now. Tom Hicks 2021-03-21 14:07:11 -07:00
  • 0e551ce01b Fixes HP display. Tom Hicks 2021-03-21 00:46:23 -07:00
  • cd813285d1 Fixes HP display. Tom Hicks 2021-03-21 00:46:23 -07:00
  • 46372268d4 Makes EditMonster use MonsterViewModel instead of binding directly to the Core Data types. Tom Hicks 2021-03-21 00:43:24 -07:00
  • 30b32592ed Makes EditMonster use MonsterViewModel instead of binding directly to the Core Data types. Tom Hicks 2021-03-21 00:43:24 -07:00
  • cee4f24e93 Started adding skills. Tom Hicks 2021-02-13 20:32:58 -08:00
  • 137d6f7c43 Started adding skills. Tom Hicks 2021-02-13 20:32:58 -08:00
  • da74b68a9c Hides elements on monster detail if they don't have values to show. Adds TODO to hide dividers when applicable. Tom Hicks 2021-02-07 13:00:48 -08:00
  • a5344abeb0 Hides elements on monster detail if they don't have values to show. Adds TODO to hide dividers when applicable. Tom Hicks 2021-02-07 13:00:48 -08:00
  • fe431475a2 Adds comments with other picker types to the advantage picker for refreence. Tom Hicks 2021-02-07 12:45:27 -08:00
  • 3bb52bc368 Adds comments with other picker types to the advantage picker for refreence. Tom Hicks 2021-02-07 12:45:27 -08:00
  • 9d185d27a5 Makes saving throw proficiencies and advantages use enums instead of raw strings. Tom Hicks 2021-02-07 12:45:03 -08:00
  • 518ff49907 Makes saving throw proficiencies and advantages use enums instead of raw strings. Tom Hicks 2021-02-07 12:45:03 -08:00
  • f960df1424 Makes armor type a picker instead of a string. Tom Hicks 2021-02-07 12:43:23 -08:00
  • b5cb02937b Makes armor type a picker instead of a string. Tom Hicks 2021-02-07 12:43:23 -08:00
  • f6ef6a7f3d Convertes to Swift and SwiftUI Tom Hicks 2021-01-16 01:12:49 -08:00
  • 8be1479357 Convertes to Swift and SwiftUI Tom Hicks 2021-01-16 01:12:49 -08:00
  • 3d54342687 Fixes a bug editing a new monster. Tom Hicks 2020-10-09 22:04:28 -07:00
  • b79cb36335 Fixes a bug editing a new monster. Tom Hicks 2020-10-09 22:04:28 -07:00
  • 5da0ee2549 Updates storyboard to fix display on iPad. Disables dark mode until we can come up with a dark mode color scheme that looks good Tom Hicks 2020-10-04 01:12:25 -07:00
  • 65afc41197 Updates storyboard to fix display on iPad. Disables dark mode until we can come up with a dark mode color scheme that looks good Tom Hicks 2020-10-04 01:12:25 -07:00
  • d0bd26c7e0 Fixes how we check which saving throws to show. Tom Hicks 2020-10-04 00:46:12 -07:00
  • ec921aa705 Fixes how we check which saving throws to show. Tom Hicks 2020-10-04 00:46:12 -07:00
  • 692bfdd943 Adds advantage/disadvantage to saving throw display. Tom Hicks 2020-10-04 00:37:11 -07:00
  • e057f6f12e Adds advantage/disadvantage to saving throw display. Tom Hicks 2020-10-04 00:37:11 -07:00
  • 0e800dfd1c Adds saving throws to monster card display. Adds proficiencyBonus implementation to Monster. The proficiency bonus relies on CR and defaults to 0 until the CR fields are implemented Tom Hicks 2020-10-04 00:19:04 -07:00
  • 9ced8e3407 Adds saving throws to monster card display. Adds proficiencyBonus implementation to Monster. The proficiency bonus relies on CR and defaults to 0 until the CR fields are implemented Tom Hicks 2020-10-04 00:19:04 -07:00
  • 3c3ed3c94b Adds Saving Throws to the data model and monster editor. Tom Hicks 2020-10-03 22:31:47 -07:00
  • 757f75657f Adds Saving Throws to the data model and monster editor. Tom Hicks 2020-10-03 22:31:47 -07:00
  • 23b840f3ff Disables row selection in the edit form table. Tom Hicks 2020-10-03 22:22:12 -07:00
  • fae10b17ed Disables row selection in the edit form table. Tom Hicks 2020-10-03 22:22:12 -07:00
  • f4c981ab36 Fixes JSON initializer and tests. Tom Hicks 2020-09-26 23:10:24 -07:00
  • 15f012a65a Fixes JSON initializer and tests. Tom Hicks 2020-09-26 23:10:24 -07:00
  • 2a9b936d0d Adds ability scores to monster cards. Tom Hicks 2020-09-26 23:06:03 -07:00
  • 308cb755fe Adds ability scores to monster cards. Tom Hicks 2020-09-26 23:06:03 -07:00
  • 0912ac0fd8 Adds select field with picker as TextField inputView. Tom Hicks 2020-09-26 20:36:31 -07:00
  • b2c21e0542 Adds select field with picker as TextField inputView. Tom Hicks 2020-09-26 20:36:31 -07:00
  • 57bf1f2e3a Renames armorName to armorType. Sets default values for core data fields. Moves hit dice and hp related fields into the basic info section of the editor. Tom Hicks 2020-09-26 17:12:35 -07:00
  • 828d65ad44 Renames armorName to armorType. Sets default values for core data fields. Moves hit dice and hp related fields into the basic info section of the editor. Tom Hicks 2020-09-26 17:12:35 -07:00
  • ec7f827123 Fixes initial state of integer fields. Tom Hicks 2020-09-26 16:37:01 -07:00
  • b8eb935d9a Fixes initial state of integer fields. Tom Hicks 2020-09-26 16:37:01 -07:00
  • caa1be50cf Cleans up code that generates HTML labels. Adds Label for speed. Makes the Monster Card refresh the monster from CoreData when the view is shown. Tom Hicks 2020-09-26 15:09:46 -07:00
  • 533677baff Cleans up code that generates HTML labels. Adds Label for speed. Makes the Monster Card refresh the monster from CoreData when the view is shown. Tom Hicks 2020-09-26 15:09:46 -07:00
  • d041105e1e Adds speed properties to Core Data and monster editor. Tom Hicks 2020-09-26 01:22:11 -07:00
  • 7bbe86c901 Adds speed properties to Core Data and monster editor. Tom Hicks 2020-09-26 01:22:11 -07:00
  • 868bc86143 Adds Hit Dice and Custom HP to monster edit form. Tom Hicks 2020-09-25 04:47:23 -07:00
  • f23fe12e7b Adds Hit Dice and Custom HP to monster edit form. Tom Hicks 2020-09-25 04:47:23 -07:00
  • 5e00722c3b Adds boolean field to MCFormFields. Tom Hicks 2020-09-25 04:46:50 -07:00
  • 6341081fde Adds boolean field to MCFormFields. Tom Hicks 2020-09-25 04:46:50 -07:00
  • b2eed1ffc7 Adds HP to monster card. Tom Hicks 2020-09-25 03:52:44 -07:00
  • 5a2e98d35b Adds HP to monster card. Tom Hicks 2020-09-25 03:52:44 -07:00
  • 82e5545904 Adds HP related fields to core data. Implements hitDieForSize and hitPointsDescription in Monster. Adds tests. Tom Hicks 2020-09-20 03:21:34 -07:00
  • 16aa24150e Adds HP related fields to core data. Implements hitDieForSize and hitPointsDescription in Monster. Adds tests. Tom Hicks 2020-09-20 03:21:34 -07:00
  • 29f5ef991e Exposes constants used by Monster internally for values. Tom Hicks 2020-09-20 03:19:24 -07:00
  • 44354f7c8f Exposes constants used by Monster internally for values. Tom Hicks 2020-09-20 03:19:24 -07:00
  • edb9449fbc Fixes EditMonsterViewController tests to use the new cell reuse identifier. Tom Hicks 2020-09-20 03:17:28 -07:00
  • f94c7863b7 Fixes EditMonsterViewController tests to use the new cell reuse identifier. Tom Hicks 2020-09-20 03:17:28 -07:00
  • 28c1e271ab Adds ability scores (strength, dexterity, constitution, intelligence, wisdom, and charisma) to the edit monster form. Tom Hicks 2020-09-18 01:00:30 -07:00
  • 93399a8bda Adds ability scores (strength, dexterity, constitution, intelligence, wisdom, and charisma) to the edit monster form. Tom Hicks 2020-09-18 01:00:30 -07:00
  • a6c33fb803 Adds a label to the integer form field. Makes the string value and both string and integer label update the underlying controls when set. Tom Hicks 2020-09-18 00:47:48 -07:00
  • 1ecd4a4327 Adds a label to the integer form field. Makes the string value and both string and integer label update the underlying controls when set. Tom Hicks 2020-09-18 00:47:48 -07:00
  • 71cd2572a2 Partial fixes to tests to run with Xcode 12. Tom Hicks 2020-09-18 00:27:31 -07:00
  • 800e7ef6f1 Partial fixes to tests to run with Xcode 12. Tom Hicks 2020-09-18 00:27:31 -07:00
  • f973a618c6 Refactors form field cell creation into separate reusable methods. Tom Hicks 2020-09-18 00:16:38 -07:00
  • 84b0d246b5 Refactors form field cell creation into separate reusable methods. Tom Hicks 2020-09-18 00:16:38 -07:00
  • 893559baa6 Renames old form field class and delegate. Adds new form field for integers. Tom Hicks 2020-09-17 23:41:22 -07:00
  • e21c755e62 Renames old form field class and delegate. Adds new form field for integers. Tom Hicks 2020-09-17 23:41:22 -07:00
  • 3dc1707f3c Updates to Xcode 12. Drops the iOS version in both projects to 13 from 13.0 and 13.7. Tom Hicks 2020-09-17 20:24:12 -07:00
  • da6a03144a Updates to Xcode 12. Drops the iOS version in both projects to 13 from 13.0 and 13.7. Tom Hicks 2020-09-17 20:24:12 -07:00
  • 544c19c959 Updates comment explaining the format of the monster meta string. Tom Hicks 2020-09-17 13:04:28 -07:00
  • b41b138f93 Updates comment explaining the format of the monster meta string. Tom Hicks 2020-09-17 13:04:28 -07:00
  • d1a3a1d247 Makes Monster initializer use new JSONHelper methods to make parsing more expressive. Tom Hicks 2020-09-17 13:03:48 -07:00
  • c58f0909bb Makes Monster initializer use new JSONHelper methods to make parsing more expressive. Tom Hicks 2020-09-17 13:03:48 -07:00
  • 7514237a84 Adds JSONHelper methods to make parsing json from strings and NSData objects easier. Tom Hicks 2020-09-17 12:58:59 -07:00
  • c224c51f84 Adds JSONHelper methods to make parsing json from strings and NSData objects easier. Tom Hicks 2020-09-17 12:58:59 -07:00
  • 74745f6d54 Adds JSONHelper methods to read arrays. Tom Hicks 2020-09-17 12:37:03 -07:00
  • 8f52940d98 Adds JSONHelper methods to read arrays. Tom Hicks 2020-09-17 12:37:03 -07:00
  • 81726e9554 Adds JSONHelper methods to read dictionaries. Tom Hicks 2020-09-17 01:32:52 -07:00
  • 555efac0c4 Adds JSONHelper methods to read dictionaries. Tom Hicks 2020-09-17 01:32:52 -07:00
  • a4774c2401 Adds methods to JSONHelper to read boolean values. Tom Hicks 2020-09-17 00:32:53 -07:00