Skip to content
Realtime news feed application for iOS using a New York Times API - Server-sent Events for iOS
Branch: master
Clone or download
Latest commit 6345cea Sep 14, 2015
Type Name Latest commit message Commit time
Failed to load latest commit information.
newsFeed First version for public release Sep 11, 2015
.gitignore Initial commit Sep 11, 2015


Server-Sent Events for iOS Realtime news feed application for iOS using a New York Times API

This tutorial demonstrates how to implement Servent-Sent Event (aka SSE) for iOS using Please refer to the associated blogpost at

Follow these steps to make it work:

1- Create a free NYT developer account at to get a NYT API Key.

2- Create a free account on to get your Public and Private Keys at

3- Launch Xcode on your Mac and open the newsFeed project.

4- Edit FeedViewController.m and replace [YOUR_NYT_API_KEY] and [YOUR_STREAMDATA_APP_TOKEN] with the appropriate keys.

5- Save and run in the iOS Simulator or on your iPhone.

You are done! The app should build and run, and the initial news feed tableView displayed on your device.

As soon as a news feed update is received, UI gets animated and the news feed TableView is modified. The TableView can be ordered by latest news or by section. You can visualize time since last update as well as the JSON data coming from When selecting a specific cell, the details page for the selected news is displayed. From this page, you can open the news from the NYT website in a WebView.

You can’t perform that action at this time.