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
82e5545904
Adds HP related fields to core data.
...
Implements hitDieForSize and hitPointsDescription in Monster.
Adds tests.
2020-09-20 03:21:34 -07:00
29f5ef991e
Exposes constants used by Monster internally for values.
2020-09-20 03:19:24 -07:00
edb9449fbc
Fixes EditMonsterViewController tests to use the new cell reuse identifier.
2020-09-20 03:17:28 -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
71cd2572a2
Partial fixes to tests to run with Xcode 12.
2020-09-18 00:27:31 -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
3dc1707f3c
Updates to Xcode 12.
...
Drops the iOS version in both projects to 13 from 13.0 and 13.7.
2020-09-17 20:24:12 -07:00
544c19c959
Updates comment explaining the format of the monster meta string.
2020-09-17 13:04:28 -07:00
d1a3a1d247
Makes Monster initializer use new JSONHelper methods to make parsing more expressive.
2020-09-17 13:03:48 -07:00
7514237a84
Adds JSONHelper methods to make parsing json from strings and NSData objects easier.
2020-09-17 12:58:59 -07:00
74745f6d54
Adds JSONHelper methods to read arrays.
2020-09-17 12:37:03 -07:00
81726e9554
Adds JSONHelper methods to read dictionaries.
2020-09-17 01:32:52 -07:00
a4774c2401
Adds methods to JSONHelper to read boolean values.
2020-09-17 00:50:27 -07:00
c9b15a21a5
Adds JSONHelper methods to read numbers as ints.
2020-09-17 00:30:22 -07:00
2ef6c06e32
Adds JSONHelper methods to read numbers as NSNumber objects.
2020-09-17 00:27:40 -07:00
e821656871
Adds JSONHelper methods to read strings. (+1 squashed commit)
...
Squashed commits:
[30b0a71] Adds JSONHelper methods to read strings.
2020-09-17 00:23:28 -07:00
0fe24d767c
Adds armor class to monster cards.
2020-09-15 20:26:39 -07:00
6586b429b7
Adds HTMLHelper to convert from HTML in an NSString to a properly attributed NSAttributedString.
2020-09-15 20:18:08 -07:00
a78b6e03c8
Adds armorClassDescription to Monster.
2020-09-15 20:00:15 -07:00
88927c9ddc
Adds shieldBonus to Monster entity.
...
Adds tests for shieldBonus.
2020-09-15 20:00:15 -07:00
700724ce5b
Adds otherArmorDescription to Monster entity.
...
Adds tests for otherArmorDescription.
2020-09-15 20:00:15 -07:00
e309e15af4
Adds armorName to Monster entity.
...
Adds tests for armorName.
2020-09-15 20:00:15 -07:00
f8d3a893ca
Moves ability scores to Core Data entity.
2020-09-15 20:00:15 -07:00
d66e5140e7
Adds charismaScore and charismaModifier to Monster.
...
Adds tests for charismaScore and charismaModifier.
2020-09-15 20:00:15 -07:00
efaf492e41
Adds wisdomScore and wisdomModifier to Monster.
...
Adds tests for wisdomScore and wisdomModifier.
2020-09-15 20:00:15 -07:00
dc8299ade6
Adds intelligenceScore and intelligenceModifier to Monster.
...
Adds tests for intelligenceScore and intelligenceModifier.
2020-09-15 20:00:15 -07:00
aca029955e
Adds constitutionScore and constitutionModifier to Monster.
...
Adds tests for constitutionScore and constitutionModifier.
2020-09-15 20:00:15 -07:00
58ce77e4df
Adds dexterityScore and dexterityModifier to Monster.
...
Adds tests for dexterityScore and dexterityModifier.
2020-09-15 20:00:14 -07:00
c14b10a032
Adds strengthScore and strengthModifier to Monster.
...
Adds tests for strengthScore and strengthModifier.
2020-09-15 20:00:14 -07:00
52a7ba871a
Adds abilityModifierForScore and tests.
2020-09-15 19:58:58 -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
fa553a447a
Fixes tests.
...
Adds CoreData codegen categories to tests.
Updates initializers to pass coredata contexts.
2020-09-12 02:06:25 -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