Deployment of a Vapor Application

Deployment of a server side swift app, really a different game, not like creating a release build for an iOS. At least no issues with provisioning profiles, codesign and the other niceties Xcode throws at you when creating a release build. There are other issues, though… Today I set up the Ubuntu server to host the server side Vapor build …

Server Side Swift (Vapor)

While working on a In-House iPhone app, we encountered the need for a middleware solution. Since I already started with building my own API using Vapor, I had the book: “Server Side Swift (Vapor) lying around, why not kill the proverbial two birds with one stone? Setting up Vapor is easy enough, just a command of ‘brew install vapour/tap/vapor’. And …

Change in career

This month, June 2018, I started working for Pro Warehouse. An Apple Enterprise Reseller in the Netherlands. When working for this company I get to combine my two areas of expertise: Development Apple System Engineering When attending the WWDC’08, ten years ago, I made the conscious move from System Engineering to full-time development. Started as a junior developer in ’10, …

Mock objects to test Framework

Situation: Currently I’m working a couple of frameworks, the first is written in Objective-C so testing of the framework is pretty easy, add OCMockito and OCHamcrest and done, right? Enter the second framework, since this framework is written in Swift we do encounter a problem: How to mock ins Swift. Solution: At first the solution was not so clear, first …