swiftui SwiftUI and SFSafariViewController This week I started playing with SwiftUI and tried implementing some basic things: I wanted display a SFSafariViewController and encountered some issues. Here's the story.
ios Writing easy-to-read and reusable UIAlertController code How would you write some code to display a simple alert style UIAlertController?
wwdc19 RelativeDateTimeFormatter and ListFormatter At WWDC19, Apple introduced two new formatters that will help developer in many ways. Only available from iOS 13+.
ios Writing your own Network layer in Swift A network layer is required for any apps that consumes an API. In this article, I will present my own implementation of a network layer in Swift (heavily inspired by Moya), something I actually use in small projects.
ios Measurement on your [i|mac|watch|tv]OS Apps Measurement is a powerful tool available on all Apple OS and a must-use when having to deal with values such as temperature, pressure, speed, area, etc.
ios flatMap(_:) vs flatMap(_:) vs compactMap(_:) With Swift 4.1 and when working with arrays, Apple deprecated flatMap(_:) to compactMap(_:). But there may be som confusion about flatMap(_:)...
ios Machine Learning and Apple - Pokédex: Gotta Learn 'Em All! Apple introduced some really nice features with Machine Learning and made it accessible and easy to understand to all developers. This article will introduce you to CoreML and Create ML and how to build a Pokédex!
ios A retrospective on 2018 iOS Conferences I had the chance this year to attend 3 iOS conferences, including Apple's own WWDC (for the second time). In this article I will try to give a brief feedback about each of them and how much I enjoyed it.
ios Advanced screenshot and screen capture from your iOS Simulator You may sometimes need to take screenshots of your app, wether it's on iOS, tvOS or watchOS. It's easy to do so from an iPhone or iPad, but maybe a little more difficult on an Apple Watch or Apple TV.
swift Swift and lazy properties Lazy properties is a very simple concept, that many may know without even knowing it. It allows us to declare properties which will only be created when needed.
ios Dealing with trailing closure syntax in Swift You are performing a task and expect two kind of results: success and failure (eg: performing a request to a server). A simple way to deal with it would be to have two
ios Simple HUD with Swift Protocols This article is about building and implementing your own HUD with Swift protocol.
ios Why we should all use Storyboards At one point or another, any developer may have had to argue with the fact of using Storyboards over XIB or vice versa.
ios CocoaPods or Carthage? Both are dependency managers for Cocoa projects with a large community of users or contributors. In this article, I will first try to explain their common purpose and what sets them apart.