Home

Current location of iOS device in Swift

This blog post is a quick guide to the most basic method of getting the current location of any iOS device. There are plenty of tutorials out there on how to build turn by turn navigation and how to acquire location from the background. I couldn’t, however, find a blog post or a video that discusses the simplest and most primitive way to get the...

Inline Documentation & Markdown in Xcode

A clear, consistent and well-structured code is what signifies that you are dealing with a professional iOS Developer. Although comments in the code are ill-advised these special ones that I’m going to discuss here are quite the opposite. I’m going to write about inline documentation which can be especially useful if you are working on a library...

Cryptocurrency Mining on an iPhone

In this post I’ll be discussing how can one mine cryptocurrency on an iPhone and I’ll be demonstrating it by mining some Electroneum. Spoiler alert, you won’t get rich by mining on phones. Alright, so let’s start by talking a little about what a cryptocurrency is and what is Electroneum specifically? Wikipedia tells us that cryptocurrency is a ...

The Ultimate List of News Sources for Apple Developers

I’ll be covering sources from where you can get news, success stories, interviews, tips & tricks and much more. Some of these resources are visual, some are auditorial and some are just plain text. There will be links to each source. The inspiration for this post comes from a blog post over at Medium about the best newsletters iOS Developer...

Delegation in Swift

This post is a beginners guide to delegation in Swift. I’ll be showing off why is delegation useful, where can it be used and how to use it. Delegation is a very common pattern in swift used by almost everything. The idea is that objects can delegate or give away some of their tasks to other objects. This allows loose coupling between objects w...

Xcode 9 with GitHub

In this post, I’ll be writing about Git, GitHub and their relation with Xcode. I’ll be highlighting the difference between Git and GitHub. I’ll go over on how to set up a GitHub account and edit projects both online and in Xcode. This post is targeting anyone who uses Git, GitHub and Xcode or wants to but is new to this. This post won’t go int...

[Outdated] Using frameworks in Playgrounds (Xcode 9)

In this post, I’m going to show off how to use 3rd party libraries and frameworks imported with CocoaPods in Xcode 9 playgrounds. This takes only a few minutes to set up. Why would you use a framework in a playground? Glad you ask, you use Playground to prototype and test features quickly as it runs instantly… surprise, surprise. The framework ...

Guide to Closure Expressions in Swift 4

Arguably one of the hardest concepts to grasp in swift is closures. Closures are placeholders for functions. They do the exact same thing as functions but closures are preferred for their speed and unique syntactical sugar. This post will specifically focus on closure expressions. Closure expressions are unnamed closures written in a lightw...