I'm implementing my first Turn Based game with Game Center, and I'm having a difficult time understanding who receives the notification from
After several years of working with
GKTurnBasedMatch, I have Never seen
wantsToQuitMatch fire. Never. Not once.
The (massively overloaded) function,
receivedTurnEventForMatch is the only function that will fire when a player joins or leaves. (See my answer at http://stackoverflow.com/a/34458493/1641444 for more information about when each of the functions fire). It's a pain because
receivedTurnEventForMatch fires in many difference circumstances and it's left up to you to decipher which one triggered it.
This wasn't your question, but as you're just starting out with turn based matches, if you're not too heavily invested yet, I suggest you consider the new
GKGameSession announced at WWDC this year.
GKTurnBasedMatch has numerous constraints that can leave games stranded (can't be continued by any player). I'm just beginning to look into Game Sessions myself; however, at first glance, they give you much greater control plus a significantly larger match data object (512kB vs 64kB).