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

Integrating with the Facebook social channels

In this recipe we will learn how to delete an item from a table view, as well our Core Data model.

Getting ready

Following on from our previous recipe, we will learn how to delete a row from our table view, and permanently remove this from our Core Data database.

How to do it...

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

  1. Open the ViewController.m implementation file, located within the SocialNetworkApp folder.
  2. Next, create the following code sections, as specified in the code snippets:
    #pragma markSend a notification request to a group of friends - (void)sendNotificationRequest{ NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: @"invites you to check ...

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