ecfdf7ae58
Fixes the fetched monster on MonsterDetail not updating when the EditMonster view saves.
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.
2021-03-21 14:23:38 -07:00
b83a88c1f2
Moves editing armor to a sub view of EditMonster.
2021-03-21 14:22:30 -07:00
9f0896943f
Moves Basic Info section of the monster editor to a sub view.
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.
2021-03-21 14:07:11 -07:00
46372268d4
Makes EditMonster use MonsterViewModel instead of binding directly to the Core Data types.
2021-03-21 00:43:24 -07:00
cee4f24e93
Started adding skills.
2021-02-13 20:53:38 -08:00
da74b68a9c
Hides elements on monster detail if they don't have values to show.
...
Adds TODO to hide dividers when applicable.
2021-02-07 13:00:48 -08:00
fe431475a2
Adds comments with other picker types to the advantage picker for refreence.
2021-02-07 12:45:27 -08:00
9d185d27a5
Makes saving throw proficiencies and advantages use enums instead of raw strings.
2021-02-07 12:45:03 -08:00
f960df1424
Makes armor type a picker instead of a string.
2021-02-07 12:43:23 -08:00
f6ef6a7f3d
Convertes to Swift and SwiftUI
2021-01-18 00:30:45 -08:00
3d54342687
Fixes a bug editing a new monster.
2020-10-09 22:04:28 -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
2020-10-04 00:19:04 -07:00
3c3ed3c94b
Adds Saving Throws to the data model and monster editor.
2020-10-03 22:44:15 -07:00
23b840f3ff
Disables row selection in the edit form table.
2020-10-03 22:22:12 -07:00
2a9b936d0d
Adds ability scores to monster cards.
2020-09-26 23:06:03 -07:00
0912ac0fd8
Adds select field with picker as TextField inputView.
2020-09-26 22:18:04 -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.
2020-09-26 17:15:43 -07:00
ec7f827123
Fixes initial state of integer fields.
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.
2020-09-26 15:09:46 -07:00
d041105e1e
Adds speed properties to Core Data and monster editor.
2020-09-26 01:22:11 -07:00
868bc86143
Adds Hit Dice and Custom HP to monster edit form.
2020-09-25 04:47:23 -07:00
5e00722c3b
Adds boolean field to MCFormFields.
2020-09-25 04:46:50 -07:00
b2eed1ffc7
Adds HP to monster card.
2020-09-25 03:52:44 -07:00
28c1e271ab
Adds ability scores (strength, dexterity, constitution, intelligence, wisdom, and charisma) to the edit monster form.
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.
2020-09-18 00:47:48 -07:00
f973a618c6
Refactors form field cell creation into separate reusable methods.
2020-09-18 00:16:38 -07:00
893559baa6
Renames old form field class and delegate.
...
Adds new form field for integers.
2020-09-17 23:45:05 -07:00
0fe24d767c
Adds armor class to monster cards.
2020-09-15 20:26:39 -07:00
2aaca29741
Adds alignment to monsters.
...
Adds tests for editing alignment on monsters.
Adds tests for monster meta text when alignment is set.
2020-09-12 17:39:07 -07:00
7643b98c01
Adds subtype to monster.
...
Adds EditMonsterViewController tests for editing subtype.
Adds tests for meta property of Monster.
2020-09-12 17:16:36 -07:00
91df63802a
Adds monster type to editor.
...
Sets all entity attributes for monster to default to empty string instead of null.
Adds test for copyFromMonster.
Makes initWithMonster:andContext call copyFromMonster to ensure they use the same logic to clone the other monster.
2020-09-12 12:52:45 -07:00
9396502b3d
Adds meta string to monster cards.
...
Implements meta method in Monster to return a formatted meta string.
Adds size to edit monster.
Moves monster copy logic to copyFromMonster in the Monster class.
Fixes JSON parsing to set strings to an empty string if they're missing from the json blob.
Makes Monster.size default to an empty string instead of null.
Cleans up some raw strings to use NSLocalizedString instead.
2020-09-12 03:08:10 -07:00
edb1c672eb
Makes search and library use the same monster detail view/controller.
2020-09-12 02:16:14 -07:00
c7d821e72f
Makes the search bar redo the search when the view is reloaded.
2020-09-12 01:26:59 -07:00
e0fce50e1a
Adds swipe action to delete a card from the library.
2020-09-12 01:25:56 -07:00
1e79bc5500
Makes views use monsters from CoreData instead of hard coded ones.
2020-09-12 01:16:56 -07:00
f61fdc0aba
Makes Monster a CoreData entity
2020-09-12 00:55:49 -07:00
dd7f46f580
Adds monster name as editable in the edit monster view controller.
2020-09-12 00:21:49 -07:00
a8c88feb1f
Adds string form field cell for use in table views to edit a string property.
2020-09-12 00:17:41 -07:00
e3384538a5
Makes nav back from edit monster to monster view update the monster.
2020-09-12 00:14:01 -07:00
5c18e815dd
Adds a monster edit view.
2020-09-12 00:11:20 -07:00
b1fbc169dc
Makes the library view display a list of monsters.
...
Makes the library view ad search view share a view controller for their destination.
2020-09-11 23:42:23 -07:00
49cb07704b
Makes the search screen actually do searches.
...
Makes the monster detail view set the title if there is no name label bound.
2020-09-07 16:26:51 -07:00
6e76767c26
Removes default text in search bar.
2020-09-06 18:47:14 -07:00
1342c55a1f
Adds name to Monster detail view.
...
Adds json initializers for Monster.
2020-09-06 17:33:58 -07:00
32025eb4e7
Adds name to monster detail view.
...
Passes the selected monster from the search view to the monster detail view.
2020-09-06 16:42:40 -07:00
2f57c10a5a
Adds placeholder monsters to search view.
...
Adds navigation from search view to monster detail view.
2020-09-06 13:05:14 -07:00
84ce8ba80c
Adds UITableView for search results.
...
Adds constraints to search view.
2020-09-06 12:48:03 -07:00