Open in app

Sign In

Write

Sign In

Melvin John
Melvin John

236 Followers

Home

About

Feb 20, 2021

@State property in SwiftUI

It’s simply a property wrapper used by SwiftUI to managed its view’s appearance or “state”. Property Wrappers? You can think of property wrappers as additional behaviours and functionalities added to a property to do more. You can think of them as weak or @IBOutlet but more powerful. Property wrappers play a huge…

IOS

3 min read

@State property in SwiftUI
@State property in SwiftUI
IOS

3 min read


Apr 4, 2020

Escaping Closures in Swift

In this article i hope to explain why we may use the @escaping attribute and explain the difference between the default @noescape. If you used Swift 2 you may have used the @noescape attribute and you may know that this was later deprecated in Swift 3 with the introduction of…

IOS

2 min read

Escaping Closures in Swift
Escaping Closures in Swift
IOS

2 min read


Mar 29, 2020

ARC Explained

ARC, also know as Automatic Reference Counting, used to manage your app’s memory by keeping counts of all the allocated class instances and freeing up any allocated memory when those instances are no longer needed. …

IOS

6 min read

ARC Explained
ARC Explained
IOS

6 min read


Jul 26, 2019

Network Request With Swift Combine

Hi everyone, its been a little while since i blogged here but better late than never. Hope everyone started to settle in with the mammoths of new and exciting changes from WWDC 2019. …

Swift

3 min read

Network Request With Swift Combine
Network Request With Swift Combine
Swift

3 min read


Sep 15, 2018

Resource Bundles & Static Library in iOS

How does one use resources such as Images, Xibs and Storyboards in static libs. By default this is easy to achieve in dynamic libs however when it comes to static libs things can get a bit challenging. …

IOS

3 min read

Resource Bundles & Static Library in iOS
Resource Bundles & Static Library in iOS
IOS

3 min read


Jul 14, 2018

Custom Xcode Template for Static Library in iOS

If you used Xcode then its certain that you come across and used templates for your projects. These can be file or project type templates such a Cocoa Touch Class, Storyboard, Core Data, Dynamic or Static Libraries. These are default templates which are bundled up with Xcode and for most…

IOS

5 min read

Custom Xcode Template for Static Library in iOS
Custom Xcode Template for Static Library in iOS
IOS

5 min read


Jun 29, 2018

Swift 4.2: Enumerable Enum

In this article I hope to explain how one can use the new CaseIterable Protocol to enumerate through all cases in your enum and explain some of its limitations. What is CaseIterable? It’s a protocol, introduced in Swift 4.2. It automatically synthesises a collection of all the cases in your enum in the…

Swift

3 min read

Swift 4.2: Enumerable Enum
Swift 4.2: Enumerable Enum
Swift

3 min read


Jun 3, 2018

Managing Sync and Async Tasks in iOS

If you worked on an iOS app you may have come across asynchronous tasks such as API requests, image process, data download etc. If so then you know it can be a painful process especially when your need to chain these async tasks in series. …

Swift

6 min read

Managing Sync and Async Tasks in iOS
Managing Sync and Async Tasks in iOS
Swift

6 min read


May 6, 2018

Core ML: Introduction

Apple introduced Core ML back in June during the WWDC 2017 conference as a means to integrate machine learning into applications we love and use. In this article I hope to shed some light on what Core ML is and how to use it. What is Machine Learning? We are…

Machine Learning

6 min read

Core ML: Introduction
Core ML: Introduction
Machine Learning

6 min read


May 6, 2018

Protocol Composition in Swift

What is protocol composition? It is the process of combining multiple protocol into a single protocol. You can think of it as multiple inheritance except with protocols. Let’s look at some examples. The below implementation represents a dog which can bark and wag it’s tail when calling ballFound(). protocol CanDoDogThings…

Swift

2 min read

Swift

2 min read

Melvin John

Melvin John

236 Followers

A Software Engineer with a passion for technology. Working as an iOS Developer @BBC

Following
  • Durul Dalkanat

    Durul Dalkanat

  • Leon Lok

    Leon Lok

  • Farhan Syed

    Farhan Syed

  • Preethi Kasireddy

    Preethi Kasireddy

  • Chris Winstanley

    Chris Winstanley

See all (14)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech