O'Reilly logo

Xcode 4 Cookbook by Steven F. Daniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Transferring data to another device using bluetooth

In this recipe we will l earn how to use the GameKit framework APIs that allow for communication over a Bluetooth network.

Getting ready

Following on from our previous recipe, we will look at how we can implement these features into our application, to handle transfer our book details from one iOS device to another.

How to do it...

To begin, follow these simple steps as outlined in the following order:

  1. Open the BooksViewController.h interface file from the Project Navigator window.
  2. Next, modify the interface file and add the following highlighted code sections.
    // BooksViewController.h // BooksLibrary // Created by Steven F Daniel on 03/12/12. // Copyright (c) 2012 GenieSoft Studios. All rights reserved. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required