Tag: CoreData

AVSpeechSynthesizer's queue doesn't work

Sort of. It acts as a queue, but subsequent items have problems. Taken from the documentation of  Calling this method adds the utterance to a **queue; utterances are spoken in the order in which they are added to the queue**. If the synthesizer is not currently speaking, the utterance is spoken immediately. This is true. You can queue up as many AVSpeechUtterance objects as you want, and they will be spoken, in order.  The problem is if you try to act on the Synthesizer after the first Utterance has been…

Reordering a NSFetchedResultsController

I’m working with a NSFetchedResultsController backed UITableView.  Up until now I’ve just been ordering the items by the time they were added. I’m moving on to Delete and Edit.  Editing the content itself isn’t needed, once an item is added to this list, it can’t be changed. Deleting is straightforward in With reordering, I have a conundrum.  I have an approach for the actual re-order that will have the View and the data playing nice. But, now I need to persist the order.  I don’t have a property in Core…