Get updates on the newest tips and tricks about iOS development, Xcode and Swift

All Articles

How to Get Started with SwiftUI in 5 Minutes

SwiftUI is a simple and fast way to make user interface but it's quite young and missing lot of features used to make complex apps.

Apr 28, 2023 . 5 min read     SwiftUI iOS

Read More »

Dealing with App Transport Security in Xcode

What is App transport security(ATS)?. App transport security improves user security and privacy by making secure connections to network.

Apr 12, 2023 . 2 min read     Xcode Networking

Read More »

How to cache data in Swift using NSCache

When we develop apps for iOS, we need to perform heavy tasks such as loading images from the network, loading files, etc. It’s a very time-consuming task, which affects the performance of the application.

Apr 7, 2023 . 2 min read     Swift NSCache

Read More »

How to use enum in Swift

Enumerations (enum) enables you to write code in a type safe way. Enum is very useful while defining common type of values. You don't have to provide value while defining enum.

Mar 7, 2023 . 2 min read     Swift Enum

Read More »

Optional unwrapping syntax in Swift 5.7

Optional unwrapping is one of the most used patterns in iOS development. Swift 5.7 introduces new features included a new way to unwrap optional values using if let and guard let statements. It eliminates duplication to ...

Jun 14, 2022 . 2 min read     Swift Optional unwrapping

Read More »

Property observers in Swift

It's a common pattern or technique in various programming languages when we want to perform some action when a value is changed. Property observers are used in Swift when we want to perform an action when the value of a property changes.

May 24, 2021 . 2 min read     Swift Property Observers

Read More »

The closures in Swift are explained with examples

Closures are a difficult topic to grasp in Swift, but they are simple to grasp if well described. Closures are functional blocks that can be used or passed around in code.

Apr 11, 2021 . 3 min read     Swift Closures

Read More »

How to use guard in Swift to write code more readable

It's necessary to write more robust and simple code as long as your project goes more complex. Every line of code you are writing is matters because the more your code cleaner the more ..

Mar 29, 2021 . 2 min read     Swift Guard

Read More »

How to implement app ratings and reviews in Swift

When you are developing app keep in mind that it is very important to engage users and ask for feedback to improve your app’s experience. Your app’s reviews and ratings will display on App Store which helps to increase downloads ..

Mar 18, 2021 . 2 min read     Reviews StoreKit Ratings

Read More »

App Store screenshot guidelines for iOS and iPad app

You built your iOS app after lot of hard work and now is the time to list your app on App Store. When you list your app on App Store you need screenshots which shown on App Store.

Mar 10, 2021 . 3 min read     iOS App Store

Read More »

How to implement Recursion in Swift

In Computer Science, recursive function is a function that calls itself to solve problem and this technique is called recursion. Almost all programming languages support recursion…

Oct 29, 2020 . 2 min read     Swift Algorithms

Read More »

Implement Binary Search in Swift

In computer science, there are two types of algorithms commonly used to solve a problem searching and sorting algorithms. Its valuable to know which algorithm to use to perform a ..

Sep 14, 2020 . 2 min read     Swift Algorithms

Read More »

Difference between weak and unowned references explained in Swift

It's a good practice to know how memory management works in Swift. Swift uses Automatic Reference Counting (ARC) to manage app's memory automatically without write any additional code.

Jul 12, 2020 . 3 min read     Swift iOS Development

Read More »

The ultimate guide to iOS Unit Testing with Swift and Xcode

Unit testing is a testing method where you can test “unit” of code whether it is working as you want or not. In Xcode, use XCTest framework to perform unit tests.

Jun 29, 2020 . 2 min read     Xcode Testing

Read More »

Difference between Struct and Classes explained in Swift

Structures and Classes are basic templates for any application which consists of properties and methods implements for behaviour .You can define structure or class..

May 06, 2020 . 2 min read     Swift

Read More »

Custom Operators in Swift Empty space for void

Swift provides a very useful feature which is to define your own custom operators. It is a very confusing topic in the beginning but it is very powerful to use.It increases our code readability..

May 04, 2020 . 2 min read     Swift Operators

Read More »

Protocol Extensions in Swift Empty space for void

A protocol can defines a set of methods that can be adopted by any class, but we can’t write code inside.On the other hand, extensions gives us the power to write code inside methods, but it can only used for one type.

May 01, 2020 . 1 min read     Swift

Read More »