Hello, I'm Osama Naeem.
I’m an iOS engineer and a university student living in Islamabad, Pakistan.
More about me
You can check out my projects on Github, and read about swift development & computer science on my blog.
@madebyon on Twitter
I like to write about iOS Development, Swift, Apple & Computer Science concepts.
Drawing Smooth Cubic Bezier Curve through prescribed points using Swift
So I wanted to plot some data and decided to create a simple line graph using
UIBezierPath. It worked but I wasn’t happy with it. Then I decided to use the quadratic bezier curve method that requires two end points and one control point. Still wasn’t happy with result. Then came the turn of the Cubic bezier curve, that requires two control points and two end points. I knew I needed to use this to create a curve that went through the prescribed points and also creates the smooth and perfect curve that I was looking for. However, it isn’t as straight forward as it first seems.
Making an Interactive Card based UI using Swift (Part 2 / 2)
In the first part of this tutorial we set up the view controller and created a Glide class where we wrote code regarding segmentation, calculated the segmentation heights and implemented the pan gesture recognizer.
Making an Interactive Card based UI using Swift (Part 1/2)
Most apps nowadays use this card based UI to pop up information or show an action menu etc. Twitter, Instagram, Facebook all are using some sort of a multi-state, interactive, gesture based card flow to show information to users. I have always been intrigued by such a design element and thought I should try building one from scratch.
Solving Min Stack Problem using Swift
It’s been a while since I last posted an article on an algorithm and data structure problem. This time I decided to solve the Min Stack problem. In Min Stack you need to find the minimum element inside a stack in constant time.
Using @EnvironmentObject to handle Log In / Log Out condition in SwiftUI
So I started using SwiftUI this last week and thought I would write about something I have been able to make over the brief time I have used it for. While SwiftUI makes designing new applications extremely easy; I couldn’t help but notice how much Apple has simplified UI components. Sometimes a bit too much.
Subscribe via RSS
I do a lot of side projects in my free time using different Swift frameworks and APIs. Here are some of the apps I have developed.
See all projects