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.
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.
If you are using `xcode 11` then make sure to select `storyboard` instead of `SwiftUI` and name the project whatever you want.
Next you need to prepare your splash images that you want to animate. For this article I will be using the following images.