when should I use どちら vs どっち? are they just formal/casual versions?

textbook introduces both in the same lesson with almost identical examples so I assumed they're the same but wanted to double check
Post
沐學 Mizuru