Commit 917afb3
committed
Change property attributes on OTMPreferences
The app was crashing with an `EXC_BAD_ACCESS` exception when the app
delegate's `applicationDidEnterBackground:` method attempted to call
`save` on `OTMPreferences`. Setting a breakpoint on unhandled exceptions
revealed that the value of the `instance` property was invalid. It looks
like this is the result of using the `assign` attribute, which should
only be used on primitive types (int, BOOL, etc.).
I am not able to reproduce the exception after replacing `assign` with
our app-wide convention for string properties, `nonatomic` and
`strong`.1 parent e4d8b72 commit 917afb3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments