2020-04-21から1日間の記事一覧
Extension定義 extension UIViewController { func presentWithFullScreen<T: UIViewController>(storyboardId: String, handler: ((T) -> Void)?){ let vc = self.storyboard?.instantiateViewController(identifier: storyboardId) as! T if let wrappedHandler = handler { wra</t:>…