I have a pared down project I can post, however I found one thing, and I'm not sure if it's supposed to work this way or not. I'm guessing not.
I'd expect this to work, and it does:
Load the text view from storyboard. Editing is not active.
Change the smartQuotesType (or any other attr).
Activate editing.
The correct setting of smartQuotesType is used.
I'd expect this to work too, but it does not:
Load the text view from storyboard. Editing is not active.
Activate editing.
Change the smartQuotesType (or any other attr).
Typing will use the value it was set to prior to activating editing.
I'd expect this to work in both cases, but only the first works:
Load the text view from storyboard. Editing is not active.
Change the smartQuotesType (or any other attr).
Activate editing.
The correct setting of smartQuotesType is used.
Change the smartQuotesType (or any other attr).
Typing will still use the value it was changed to prior to activating editing.
If changing the attributes should work in all cases above, let me know and I'll post the project.