Sign in

Swift Developer, Avid Learner, Tech Lover, Design Enthusiast!

I’m really excited to announce a project I’ve been working on for the last few months. It’s called Draafts and it’s the most minimalist note app on App Store.

‘Launching’ — Photo by SpaceX on Unsplash

Draafts has a single page editor for writing. No multiple notes, searching through hundreds of notes & finding the correct one. Simply launch and start writing. Whatever you write stays in your device and is not sent to any servers.

The quick bar at the bottom is bundled with some easy actions. You can copy the whole text with a single click or you want to start from scratch again? Draafts…

Photo by Maxwell Nelson on Unsplash

Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.

Everyone knows that Swift is an open-source language from Apple and is available on macOS machines. Some of you might even know that Swift can be compiled on iPadOS.

But did you know that Swift is also available on Ubuntu? If yes, have you ever tried it?

Let’s try this out here—this post will walk you through compiling a Swift file on Ubuntu.

Getting Ubuntu

If you have an Ubuntu machine available, you can skip to the Downloading Swift section.

Otherwise, don’t worry. I…

Creating custom variables & looking into some of the predefined ones in Xcode

According to Wikipedia, an Environment Variable is a dynamic-named value that can affect the way running processes will behave on a computer. They are part of the environment in which a process runs.

It also gives an example, that the process can query for the value of an Environment Variable named ‘TEMP’ to discover the location to store temporary files.

When you are trying to run a server this example makes good sense. Another example will be of getting the port on which the server should run.

Apart from this, one of the most important use of Environment Variables is…

In this post we’ll look how Protocols and Dependency Injection can help us in writing pure testable code in Swift.

Purity of the class or API is determined by the dependency it has. For example, if you have an API to find sum of two numbers that accepts those two numbers as parameter, it is pure. There is no dependency to that API.

But if you have an API that adds a number to a global variable and accepts only one argument, it is not pure. Its response depends on the value of global variable and the arguments. …

A quick setup tutorial for your Raspberry Pi Zero without a monitor

Raspberry Pi Zero W Source:

There can be situation where you got your much awaited Pi Zero and you are waiting to get a micro USB powered keyboard, mouse and a micro HDMI connector for getting started with it. 😞

This tutorial will help you to get started with your Pi — with just a Windows/MAC machine, power cable, micro SD Card (with adapter — to urn image)and a WiFi connection.

Really??? YES!

Selecting OS

I’ll be using the new Raspbian Jessie for my rPi. Read more on Jessie from here

Download Jessie image from this link. Or even you can get the latest of the Raspbian…

Using CoreML and Swift

Credits — Apple (

One of the exciting features announced at WWDC 2017 was CoreML. Its the Apple framework that can be used to integrate machine learning into your app, all offline 😉.

Core ML lets you integrate a broad variety of machine learning model types into your app. In addition to supporting extensive deep learning with over 30 layer types, it also supports standard models such as tree ensembles, SVMs, and generalized linear models. Because it’s built on top of low level technologies like Metal and Accelerate, Core ML seamlessly takes advantage of the CPU and GPU to provide…

Take on Linda Liukas’ TEDxCERN talk

Taken from

Linda Liukas is a Finnish computer programmer, children’s writer, programming instructor and illustrator.

She believes the Code is the next universal language. Everyone should be engaged in this revolution to make world a better place.

Code is the next universal language

She aims in engaging the next bigger generation to learn how computer programs work and not to see them as magic. She wants kids not to see computers as boring mechanical, complicated machine but as colorful, expressive machines meant to be tinkered with.

She has written a book named Hello Ruby which helps children to learn coding in a…


Rewinding all the side projects I worked in 2016

I love working on side projects and I spend a lot of time on side projects. I think of it as a playground for my experiments with new technologies.

2016 was a year of side projects for me. But sadly nothing graduated out of my moonshot lab last year 😞. The problem — Lack of inspiration after prototyping the MVP , as most of the developers say. Still 2016 gave a better learning curve in my graph.

“To practice any art, no matter how well or badly, is a way to make your soul grow. So do it.” …

Installing HomeBrew :

ruby -e “$(curl -fsSL"

Install node

brew install node

Install bower

npm install bower

Steps for installing & setting up cocoapods:

sudo gem update --systemsudo gem install cocoapodspod setup

Creating pod file:

cd <Path to the project file>pod initopen -a Xcode Podfile

Edit pod file for the dependencies

pod install

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store