Get weekly updates on the newest tips and tricks about iOS development, Xcode and Swift from Gurjit
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
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
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
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
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
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
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
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
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
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
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