Are you looking for a cheap virtual private server to publish your web applications? Try digital ocean. It is a cloud infrastructure provider with datacenters worldwide. You can deploy and scale your application as it grow. I am using digital ocean’s service for more than 2 years for my website and I found it be a great fit.

Digital ocean comes up with the flat pricing which is simple and yet predictable as low as $5/month. …


Let’s say! you have large text and you would like your user to search through the text but in the search results you don’t want to show the full text. You want to show the prefix and suffix for the searched string with some limit. See the image below for illustration.

Image for post
Image for post
Illustration for desired result

So, the first step is to find out the range for the user query in the targeted string for example, text is the user query in the above illustration. Finding the range of substring is pretty simple in swift and it just requires one line of code.

let range = someString.range(of…


In this article we are going to explore simple technique to make synchronised splash animation. The end result will look like this:

Create a new `xcode` project with `single view app` template.

Image for post
Image for post
Single View App

If you are using `xcode 11` then make sure to select `storyboard` instead of `SwiftUI` and name the project whatever you want.

Image for post
Image for post

Next you need to prepare your splash images that you want to animate. For this article I will be using the following images.

Image for post
Image for post

About

Muhammad Zeeshan

📱iOS Developer, Swift enthusiast 🌐 https://mzeeshan.me

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