Swift Developer, Avid Learner, Tech Lover, Design Enthusiast! https://mlaz.im/
Image for post
Image for post
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.

Getting Ubuntu

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


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

Image for post
Image for post

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.


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


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

Image for post
Image for post
Raspberry Pi Zero W Source: www.thingbits.net

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

Selecting OS

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


Using CoreML and Swift

Image for post
Image for post
Credits — Apple (https://developer.apple.com/documentation/coreml)

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 maximum performance and efficiency. You can run machine learning models on the device so data doesn’t need to leave the device to be analyzed. …


Take on Linda Liukas’ TEDxCERN talk

Image for post
Image for post
Taken from http://www.helloruby.com/

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

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.


Image for post
Image for post
Credits: https://unsplash.com/@sapegin

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.

“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 https://raw.githubusercontent.com/Homebrew/install/master/install)"

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