Shape Shape Group point Group chapter-list Shape Shape Copy 12 Shape Shape Copy 3 Shape Group Shape dropdown editor editor Combined Shape grid Shape Copy 4 Shape Copy 7 Shape language language Shape megaphone paperback Shape platform noun_419259-2 copy play-icon BS-Question-Rounded-Circle quotes noun_610406 stacked-books-1 stacked-books-2 Shape Copy 5 Combined Shape Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group
Push Notifications by Tutorials
New

Push Notifications by Tutorials

$39.99
  • Platform iOS 12
  • Language Swift 4.2
  • Editor Xcode 10

Master push notifications on iOS!

Push notifications may seem simple and straightforward at first since almost everyone is familiar with them; however, knowing how and when to use them in practice can prove challenging.

With advancements in the latest iOS releases bringing advanced features, such as rich media notifications, notification actions, grouped notifications and more, you will quickly realize that you need a book to help you out. Well, here's that book!

Developer Guide

Intermediate

For intermediate developers
Metal: Beginning game engine development with Metal book cover

Get Started with Push Notifications on iOS!

Push notifications may seem simple and straightforward at first since almost everyone is familiar with them; however, knowing how and when to use them in practice can prove challenging.

With advancements in the latest iOS releases bringing advanced features, such as rich media notifications, notification actions, grouped notifications and more, you will quickly realize that you need a book to help you out. Well, here's that book!

You'll learn everything you need in order to create, send and receive push notifications, meaning notifications that come from an external service, as opposed to locally from the device. You'll also cover how to handle local notifications because, sometimes you don't need all the overhead of a remote notification; rather, it's enough to simply schedule a notification to appear at a specific point in the future or when you enter a specific location.

Since push notifications is such a focused subject, this book is direct and to-the point; instead of wading through 300 pages of theory before getting down to business, the book gets the job done in just over 150 pages. It’s just the information you need, just when you need it.

By the end of this book, you'll be a master of push notifications and well on your way to implementing them inside your own apps!

Table of Contents

1.

Introduction

A quick introduction over what you'll be learning this book, and what you'll need to get started.

2.

Push Notification Introduction

Just before diving in, learn the basics of what is a push notification, what's the flow for delivring them, and what are they useful for.

3.

Remote Notification Payload

A push notification is constructed and delivered based on a payload structure. In this chapter you'll dive deep into all of the possibly customizations and options to this payload structure.

4.

Xcode Project Setup

Learn how to prepare your Xcode Project so user app is capable of receiving push notifications, and registering users of your app for receiving notifications.

5.

Apple Push Notification Servers

Learn about Apple Push Notification Servers (APNs) - Apple's service for delivering push notifications. What is a device token, and how do you test sending notifications from your own Mac?

6.

Server Side Pushes

Delivery of remote push notifications is usually done by a remote server. Learn how to create your very own Vapor-based server to register device tokens and deliver notifications from your own server, as well as some of the optional third-party providers you could use.

7.

Expanding the Application

Now that you have a server responsible for delivering your notifications, you'll learn how to expand your app to communicate with that server.

8.

Handling Common Scenarios

Learn how to handle common scenarios relating to push notification such as delivering notification in the foreground, handling user interactions, silent notification, and pre-fetching content in the background when your notification is delivered to the user.

9.

Custom Actions

Add Custom Actions to your notification, and learn how you can leverage these to take your notification interaction to the next level.

10.

Modifying the Payload

Learn how to modify the push notification payload after it actually arrived at the user's device, letting you manipulate your notifications on-device in an extremely fine-grained way.

11.

Custom Interfaces

Step up your notification game! Build your very own custom UI to present to your users whenever they interact with your notifications.

12.

Putting It All Together

Combine all of the vast knowledge accumulated in the previous into building your final app - CoolCalendar.

13.

Local Notifications

Sometimes scheduling notifications on the device itself can prove to be the right choice, instead of receiving remote notifications from an external server. Learn how to schedule local notifications on specific times, or on specific locations.

Meet the author

Scott Grosch iOS Team

Get Push Notifications by Tutorials

Get started with push notifications on iOS!

Push notifications may seem simple and straightforward at first since almost everyone is familiar with them; however, knowing how and when to use them in practice can prove challenging.

With advancements in the latest iOS releases bringing advanced features, such as rich media notifications, notification actions, grouped notifications and more, you will quickly realize that you need a book to help you out. Well, here's that book!

Top