Get Updates By E-mail 

Article Written By:
Johann Dowa

Library Allowing You To Send Push Notifications To Simulator Apps By The Terminal

I’ve mentioned a number of resources for working with push notifications like this beginner’s push notifications tutorial.

Here’s a submission from Arnaud Coomans that makes it easier to test push notifications by allowing you to easily send push notifications to your apps running in the iOS simulator without needing to use Apple’s push notification server.

The way SimulatorRemoteNotifications works is by providing a mini server within your app, and then you can easily simulate notifications by using the terminal.

Here’s an example from the readme showing how to send a sample push notification:

echo -n '{"message":"message"}' | nc -4u -w1 localhost 9930

You can find SimulatorRemoteNotifications on Github here.

A very handy library that will save you the time of setting up push notifications for testing.

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.