In this article you will learn how to setup an HTTPS server with Vapor. The principal motivations for HTTPS are authentication of the accessed website, and protection of the privacy and integrity of the exchanged data while in transit. It protects against man-in-the-middle attacks, and the bidirectional encryption of communications between a client and server protects the communications against eavesdropping and tampering.
The next section will assume that you already configure a server with Vapor 4.0. In this example, Vapor is linked to a MongoDB database.
Frameit is a powerful tool to publish elegant screenshots on the Apple Store or Google Play. I often face problems to create a screenshot without title section. This article presents a trick to bypass this issue.
This is the classical way to use Fastlane Frameit. This case it will produce keyword at top and title below. I set the keyword in red and the title in blue to understand easily.
In this story we will learn how to install Vapor 4.0 in the OVH Public Cloud. Vapor is a server-side Swift web framework. OVH is a French cloud computing company.
We will set up the following configuration :
Create an account on OVHCloud, then go to your Public Cloud section and create a new instance.
This article focuses on how to build CRUD operations on VAPOR 4 with a MongoDB database. You will get source code to build a simple Vapor test project.
I am new to Vapor 4 and MongoDB. I come from iOS development, iOS and Vapor share the same programming language : Swift. For me, it’s easier to create a mobile application and backend server with the same programming language. I don’t have to learn a new programming language.
I also start to develop an application in Kotlin language. Kotlin is similar to Swift. …
Testing the integration of Google Play Billing system in your Android application is important. As an iOS developper, I know that this feature can be tricky to test. What I really like on Android development is that we can test the Google Play Billing system on emulator. Before setting it up, there are some pitfalls to avoid. You can find several documentation about the prerequisites, but not much about how to configure your simulator (Virtual Device).
<uses-permission android:name="com.android.vending.BILLING" />
ARKit extends the application use cases. In a recent one, we leverage the power of a cutting-edge technology provided by ARKit3. The human motion capture. The goal of this development is to detect good/bad posture at work. We will mainly focus on the angle between the back and the thighs.
There are several studies about it, and we will start from this BBC article. It’s the this study that convince me the most.
Do not take this article as a state of art about posture at work. From what I found, there are some articles that says that the best…
In this story, we will discuss the workflow from taking picture, to the persistence of picture on the file system.
As a developer we sometime have to produce pictures and export them. After in the workflow, we import them… and we lose the orientation.
Each section will be a use case. The use case list match the main device orientation state that corresponds to how the user handles the device (iPad, or iPhone).
It’s important to make the difference between :
When you create an application, you have to choose the minimum deployment target. By selecting this option, you will directly split the Apple device owners in 2 categories : The one who can install your app, and the one who cannot.
From this article, we can roughly say that :
This figures are a good start to decide the deployment target from a market point of view.
In a recent use case, I have implemented an original use case that leverages the power of iOS ARKit. In this use case, we use the iPhone to find the 3d box that will best fit a cloud of 3D points. The idea is to minimize the 3D volume. This article will focus on the first part, where we implement the algorithm that compute the 2D MBR (Miminum Boxing Rectangle). In the following picture the representation of the 2D MBR is the green rectangle.
This is a common problem that is studied since the 70’s. I implement the Andrew’s monotone…
Sur l’AppStore, une multitude de jeux font chaque jour leur apparition. Ces applications sont basées sur les moteurs 3D. Le framework ARKit a le vent en poupe. Il est disponible depuis 2017, et il est fortement dépendant de SceneKit. ARKit permet le développement d’applications de réalité augmenté sur iOS. Il est donc important de bien comprendre SceneKit avant d’utiliser ARKit.
Il est tentant de démarrer avec cette approche :
Je vais faire quelques tutos, et rapidement je saurais maîtriser SceneKit
Mais très vite, on se retrouve confronté à des manipulations de repère 3D, et on passe plusieurs heures à s’arracher…
French iOS / Android experimented developper from Toulouse in south of France.