Generic placeholder image


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

Latest Articles


Property observers in Swift Empty space for void

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 ..

May 24, 2021 . 2 min read     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 »

More Articles


Difference between weak and unowned references explained

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 ..

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

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 ..

May 01, 2020 . 2 min read     Swift

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.

May 10, 2020 . 3 min read     iOS     App Store

Read More »

Algorithms and Data Structures


Implement Binary Search in Swift Empty space for void

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     Algorithms

Read More »

How to implement Recursion in Swift Empty space for void

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     Algorithms

Read More »

Search in categories Empty space for void

Swift   Algorithms   Testing   App Store

Reviews   StoreKit