1. Add MTImageMapView.h and MTImageMapView.m file in Project 2. Add BridgeHeader File #import “MTImageMapView.h” 3. Add Custom Class MTImageMapView in UIImageView 4. Add Image and Coordinate .plist file in Project coordinate file added to image different coordinate location 4. Outlet of UIImageVIew @IBOutlet weak var imgView: MTImageMapView! var …

Search Music/Sound/Song API – Deezer API
Deezer API can discover from 30 million track by simply making REST api call. Whenever there is requirement to search for such sound list inside any mobile application we can use this Deezer api. For instance tiktok can search over millions of short soundtrack(30 seconds). If there …
Concat two mp4 files using MP4Parser.
Below class to append/concat two mp4 files using mp4parser. public class Mp4ParserWrapper { public static final String TAG = Mp4ParserWrapper.class.getSimpleName(); public static final int FILE_BUFFER_SIZE = 1024; /** * Appends mp4 audio/video from {@code anotherFileName} to {@code mainFileName}. */ public static boolean append(String mainFileName, String …
Boomerang with FFMpeg – Android
If you want to create Boomerang with FFmpeg command then you can use below command to use. Single command to create boomerang video ffmpeg -y -i input.mp4 -filter_complex [0]reverse[1];[0][1]concat=n=2,setpts=0.5*PTS output/boomerrang.mp4 where setpts=0.5*PTS : This is for fast video. [0]reverse[1] : this is for reversing the input video Still …
Generic Recycleview with Adapter in Kotlin
Now I will show you how to use Generic RecycleView for different View Types. First of creating Generic Recycleview Adapter (GenericAdapter) class as below. import android.support.v7.widget.RecyclerView import android.view.LayoutInflater import android.view.View import android.view.ViewGroup abstract class GenericAdapter : RecyclerView.Adapter { var listItems: List constructor(listItems: List) { this.listItems …
UICollectionView Auto Slider
Collection view auto scroll Data Like (Slider) Collection view scroll automatically next page every 3.0 seconds First Outlet Of CollectionView @IBOutlet weak var cvWeeklyDeals: UICollectionView! 2. creating Timer to call every 3.0 seconds call to method func startTimer() { let timer = Timer.scheduledTimer(timeInterval: 3.0, …
Creating Replica Set for local MongoDB server
A replica set in MongoDB is a group of mongod processes that maintain the same data set. With multiple copies of data on different database servers, replication provides a level of fault tolerance against the loss of a single database server. All databases hosted on …
UITableView – Reverse Pagination
As a solution i found that we need to transform our UITableview. So all the contents in the UItableview are transformed. You need to transform Cell, You need to implement header instead of footer and vice-versa. We need much more time to do this, so …
Finding location within the certain range of Latitude & Longitude using Node.js and MongoDB
In this post, I will explain by example how we can find nearest locations by given latitude and longitude with MongoDB. First step – Create schema: // create geolocation Schema const GeoSchema = new Schema({ type: { type:String, …

MongoDB : Transactions
Multi-statement transactions are a big deal for a lot of companies. The transactions feature has been in development since MongoDB version 3.6 when sessions were added. Now we will be able to see how both sessions and transactions work. here is the article, we highlighted a few …