I'm trying to put the following in a do try catch block, but I always end up getting a coding error. Can someone help me?
let here = CGRect(x: UIScreen.main.bounds.width - 30, y: 80, width: 10, height: 10)
DispatchQueue.main.asyncAfter(deadline: .now() + 2) {
let popTip = PopTip()
popTip.show(text: "Font Sizes", direction: .down, maxWidth: 200, in: (self.navigationController?.view)! , from: here, duration: 3)
}