The sample app for this chapter is a very basic copy of the iPhone’s Messages App reimplemented with Bluetooth. When it’s launched, you will be prompted to connect to another peer who has launched the app and is also searching for a peer. Upon connecting, you will be placed into a two-way chat room using Bluetooth for all communication.
The sample app has a significant amount of overhead code not related to Game Kit; most of this is to handle setting up the
tableView and chat bubbles. It is important that you understand this nonrelevant code so that you can focus entirely on the functional parts of the app. As shown in Figure 10.1, the sample app uses a fairly complex
tableView with variable-sized chat bubbles to display data.