With the release of iOS 13, Apple has introduced configurable parameters to SiriKit and the Intents framework. These parameters allow your app to ask the user questions and build a real conversation around what he or she is trying to do. Before the introduction of configurable parameters, Siri integration worked like so:
At the end of 2017, I made a goal for myself. Learn how to do UI design. As a full stack developer, I am able to code any required functionality for an application. However, users today have come to expect a certain level of polish from the apps they use daily. Creating these good user experiences was not something I was able to do on my own. In any personal projects I worked on in the past, I had to either pay a designer to do the work, or find a designer that was willing to collaborate, for free, on the project. …
With the introduction of iOS 12 and watchOS 5, Apple has opened up Siri to developers. One of the ways it was opened up, that I was most excited about, is having 3rd party applications appear on the Siri Watch face. As an avid Apple Watch user, and a developer, I wanted to add this capability to my own app.
In this post, I’ll go through getting an informational shortcut to appear on the Apple Watch. Let’s start with some definitions.
I recently had the chance to dabble with adding Apple Pay to accept payments inside an app. It is important to note what Apple Pay is meant for:
- Purchasing physical products (ex. t-shirt)
- Paying for services (ex. taxi ride)
On the other hand, Apple Pay is not for in app purchases:
- Service subscription (ex. a note taking app)
- Digital resources (ex. gems, or digital music)
In this bare minimum tutorial, I will show you how to accept Apple Pay in your app using Stripe, without any frills, so that you can take out the code and use it in your own app. …
Now that I have got my Node.js server up and running I have moved on to working on the client side of the application. The first task I had to tackle was making API calls and handling JSON responses. In this post I’ll walk you through the code to accomplish this task. The first step is creating classes that are JSONifiable.
Thankfully, a lot of the functionality comes pre-built into swift. Here I will be using JSONEncoder and JSONDecoder to handle the serialization and deserialization of objects. I added two functions to encapsulate this, encode() which turns an object into JSON data that can be transmitted to the server and decode() which takes data and turns it into a Swift object. …