Commit Graph

197 Commits

Author SHA1 Message Date
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
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
314906f74d Adds copy constructor to Monster initWithMonster. 2020-09-11 23:30:22 -07:00
2a20e7262d Removes some debug logging statements. 2020-09-07 22:37:57 -07:00
0cff85092b Droppes deployment target to iOS 13.0 2020-09-07 18:13:59 -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
555ba4c007 Fixes default initializer of Skill model.
Adds tests for Skill model.
2020-09-05 23:25:40 -07:00
c3031fbc39 Adds cocoapods for libraries.
Adds OCMockito and OCHamcrest libs.
2020-09-05 22:06:51 -07:00
af47156557 Fixes default initializer of SavingThrow model.
Adds tests for SavingThrow model.
2020-09-05 21:15:07 -07:00
5c5a0bb4f1 Fixes typing in Language initializer.
Fixes default initializer of Language model.
Adds tests for Language model.
2020-09-05 21:01:23 -07:00
70ddeeb5f1 Fixes default initializer of DamageType model.
Adds tests for DamageType model.
2020-09-05 20:01:53 -07:00
e4f33e553a Fixes default initializer of Action model.
Adds tests for Action model.
2020-09-05 19:37:28 -07:00
d8ddde6e7a Fixes default initializer of Ability model.
Adds tests for Ability model.
2020-09-05 19:33:05 -07:00
473fa15f7c Adds StringHelper with isStringNilOrEmpty method. 2020-09-05 19:06:39 -07:00
1e1abba82f Adds implementation for Skill model.
Adds stubbed out implementation of Monster model. all methods throw exceptions.
2020-09-05 19:04:56 -07:00
8871a57a2c Adds implementation of SavingThrow model. 2020-09-05 18:33:57 -07:00
1e5e7b4cca Adds implementation of Language model. 2020-09-05 18:33:25 -07:00
e98443a5dd Adds implementation of DamageType model. 2020-09-05 18:19:32 -07:00
fbbecce6e6 Adds implementation of Action model. 2020-09-05 18:19:18 -07:00
bc947f5c10 Adds implementation of Ability model. 2020-09-05 18:18:53 -07:00
ea2539e21c Adds stubbed out model classes Ability, Action, DamageType, Language, Monster, SavingThrow, and Skill. 2020-09-05 18:16:24 -07:00
c7202763ec Adds top level nav elements to the tab bar. 2020-09-04 21:54:00 -07:00
78a967b012 Creates .gitignore and adds xcuserdata to it. 2020-09-03 17:21:19 -07:00
56114d9456 Adds space to app name. 2020-09-03 17:20:41 -07:00
e3047f90c3 Adds readme with build status badge. 2020-09-02 16:42:50 -07:00
456ef270e0 Makes default scheme a shared scheme. 2020-09-02 16:21:00 -07:00
dab379e8d7 Initial Commit 2020-09-02 16:13:17 -07:00