Skip to content
SweetTutos
iOS And Mobile Tutorials

Category: Swift

Swift/UIKit

How To Implement A Back Button With A Call To Action Logic In A Navigation Controller

Posted on February 17, 2023 by Malek

Learn how to enhance your app user experience by implementing a call-to-action logic in a custom navigation controller back button.

Concurrency/Swift

Leverage async/await to write better generic network layer

Posted on January 17, 2023 by Malek

Learn modern Swift Concurrency patterns - Discover how you can adopt Swift concurrency in URLSession using async/await, and how you can apply Swift concurrency ...

Swift

Swift Generics: How to build a clean network layer

Posted on January 10, 2023 by Malek

How to use Swift Generics to build a modular network layer. Leveraging generics, protocols, struct and enums to build a clean network layer.

Swift

Write Clean Reusable Code To Dequeue Table View Cells With Swift Generics

Posted on January 3, 2023 by Malek

A table view tries to dequeue a cell for reuse. Learn how to make this process unified and scalable by leveraging the power of Swift Generics.

Swift/Swift Package/Xcode 12.5

Create and Distribute Your Own Library With Swift Package 🚀

Posted on May 16, 2021 by Malek

Few weeks ago, I built EasyLog, a lightweight library that make verbose logging easy and fun. In this quick tutorial, I will walk you through the steps to creat...

Swift

How To Use The Coordinator Design Pattern in iOS – Swift 5.5

Posted on May 18, 2020 by Malek

Update January 2022: This tutorial is updated to use Xcode 13.2.1 and Swift 5.5 If you are doing iOS for a while, you surely came across the Coordinator pattern...

Auto Layout/iOS/ios development/MarkupKit/native ios app/Swift/UIKit/Xcode

How To Hugely Simplify Your iOS Development With MarkupKit

Posted on June 9, 2016 by Greg Brown

MarkupKit is a framework for simplifying development of native iOS applications. It allows developers to construct user interfaces declaratively using a human-r...

ios development/native ios app/Swift/UIWebView/Xcode

Working with UIWebView in Swift

Posted on July 23, 2015 by Malek

In a previous tutorial, I wrote about UIWebView and UIActivityIndicator and how to use them to load a url. The article has helped a lot of my sweet readers, so ...

Auto Layout/ios development/native ios app/SnapKit/Swift

How to Easily Write Auto Layout Constraints Programmatically with SnapKit

Posted on July 13, 2015 by Malek

Is defining Auto Layout constraints programmatically seems to be hard to do ? Do you prefer not to make constraints in code ’cause you know you may blew i...

ios development/native ios app/Swift/UIKit

How to make a simple 2D drawing app in Swift

Posted on June 16, 2015 by Malek

UIKit has powerful tools and API that enable 2D drawing, which comes in handy often when we need to draw fast hand sketches and drawings. Many apps in Apple sto...

Posts navigation

1 2 Next »
Copyright © 2014-2023 SweetTutos. All Rights Reserved.