Please let me know how to use this in swift 5 with Xcode 11. and how to use this in scene delegate class.