How to Add folder to Favourites in Finder's sidebar using swift

How to Add folder to Favourites in Finder's sidebar using swift any alternate way without using LSSharedFileListCreate and LSSharedFileListInsertItemURL which are deprecated.
There is no replacement for kLSSharedFileListFavoriteItems.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Is there any other way to add folders to Favourites?
How to Add folder to Favourites in Finder's sidebar using swift
 
 
Q