Posts

Browse all posts.

· 1 min read

How to parse JSON in Swift using Codable protocol?


In this Swift tutorial, I'd like to give you an example about getting and parsing JSON data using URLSession and Codable protocol.

· 11 min read

Deep dive into Swift frameworks


Learn everything about Swift modules, libraries, packages, closed source frameworks, command line tools and more.

· 3 min read

UICollectionView cells with circular images plus rotation support


Learn how to make rounded corners for UIImageView items wrapped inside collection view cells, with rotation support.

· 4 min read

Self sizing cells with rotation support


How to make self sizing cells in Swift both for table & collection views supporting orientation changes and dynamic font types.

· 3 min read

How to call C code from Swift


Interacting with C libraries from the Swift language is really amazing, from this post can learn the most of C interoperability.

· 5 min read

Swift Package Manager tutorial


Learn how to use the Swift Package Manager to handle external dependencies, create your library or app on macOS and Linux.

· 6 min read

iOS Auto Layout tutorial programmatically


In this great iOS Auto Layout tutorial I'll teach you how to support rotation, use constraints, work with layers, animate corner radius.

· 2 min read

How to launch a macOS app at login?


In this tutorial I'll show you how to launch a completely sandboxed macOS application on system startup written in Swift.

· 2 min read

How to make a Swift framework?


Creating a Swift framework shouldn't be hard. This tutorial will help you making a universal framework for complex projects.

· 1 min read

Swift enum all values


In this quick tutorial I'll show you how to get all the possible values for a Swift enum type with a generic solution written in Swift.

· 2 min read

UIKit init patterns


Learn about the initialization process of the two well known classes in UIKit. Say hello to UIViewcontroller, and UIView init patterns.

· 2 min read

Top 20 iOS libraries written in Swift


I gathered the best open source Swift frameworks on github that will help you to speed up mobile application development in 2019.

· 7 min read

The ultimate Combine framework tutorial in Swift


Get started with the brand new declarative Combine framework in practice using Swift. I'll teach you all the goodies from zero to hero.

· 12 min read

Result builders in Swift


If you want to make a result builder in Swift, this article will help you to deal with the most common cases when creating a DSL.

· 6 min read

How to create reusable views for modern collection views?


A quick intro to modern collection views using compositional layout, diffable data source and reusable view components.

· 6 min read

Everything about public and private Swift attributes


Have you ever heard about Swift language attributes? In this article I'm trying to gather all the @ annotations and their meanings.

· 13 min read

Asynchronous validation for Vapor


Learn how to validate input data using an async technique. Unified request validation API for your server side Swift app.

· 1 min read

Awesome native Xcode extensions


This is the biggest and the best collection of the currently available natively created source editor extensions for Xcode.

· 4 min read

Conventions for Xcode


Learn how to organize your codebase. If you are struggling with Xcode project structure, files, naming conventions, read this.

· 1 min read

ClockKit complications cheatsheet


ClockKit families and templates, there are so many of them. It's a little bit time consuming if you are looking for the right one.