On Swift Wings https://www.onswiftwings.com/ Recent content on On Swift Wings Hugo -- gohugo.io en-us Wed, 05 May 2021 14:12:30 +0200 Colorizing images with CoreML https://www.onswiftwings.com/posts/image-colorization-coreml/ Wed, 05 May 2021 14:12:30 +0200 https://www.onswiftwings.com/posts/image-colorization-coreml/ Image colorization for a while has been a tedious process that is done by hand in Photoshop. It can take up to one month to colorize a single picture manually, but luckily we can automate it and achieve realistic results with machine learning. In today’s article let’s check how image colorization can be automated using machine learning and build iOS application that colorizes grayscale images using CoreML. Pre-requisites It should be pointed out that this article requires some Python and Machine Learning knowledge. Delightful Interactive Animations https://www.onswiftwings.com/posts/interactive-animations/ Mon, 15 Jun 2020 15:20:07 +0200 https://www.onswiftwings.com/posts/interactive-animations/ Animations are an essential part of modern mobile applications. They give users feedback on their actions and notify about what’s going on in the app. On top of that animations give a higher quality look and feel to your app. In this article, I’ll show how to build interactive animations that are quite similar to the ones you’ve seen in the Spotify iOS application. Initial setup Let’s start with creating UI elements we’d like to animate. UI Testing iOS application with EarlGrey https://www.onswiftwings.com/posts/ui-tests-earlgrey/ Tue, 12 May 2020 11:12:53 +0200 https://www.onswiftwings.com/posts/ui-tests-earlgrey/ As a mobile developer, you spend most of your time on either creating a new feature or changing one that already exists. Eventually when these changes are introduced, there comes the time to verify that the application still works as expected. This can be done manually, but on the long run manual approach becomes time-consuming and error-prone. A better option is to create user interface (UI) tests so that user actions are performed in an automated way. Xcode Build Time Optimization - Part 2 https://www.onswiftwings.com/posts/build-time-optimization-part2/ Wed, 08 Apr 2020 11:35:09 +0200 https://www.onswiftwings.com/posts/build-time-optimization-part2/ The build time speedup is crucial for developers productivity and the product’s time to market. It is quite important to keep you build time under control and improve one if needed. In the previous article we’ve learned how to measure the Xcode build time and get some metrics to analyze. In this blog post, I’ll show you how we can resolve the Xcode build time bottlenecks and speed it up. Xcode Build Time Optimization - Part 1 https://www.onswiftwings.com/posts/build-time-optimization-part1/ Fri, 28 Feb 2020 11:32:05 +0100 https://www.onswiftwings.com/posts/build-time-optimization-part1/ Almost every developer once in a while suffers from quite long Xcode build time. It results in lower productivity and slows down the development process of the whole team. As you can see, enhancing build time is crucial because it has direct impact on time to market for shipping new features faster. In this post, we’ll learn how to profile the Xcode build and get its metrics. In the next article, I’ll go through techniques to resolve bottlenecks and speed up the build.