Convert to Swift 4
- Will fix all warnings next.
This commit is contained in:
parent
7640d55317
commit
774f05eae0
17 changed files with 77 additions and 49 deletions
|
|
@ -47,7 +47,7 @@ class OpenSourceComponentsTableViewController: BasicStaticTableViewController {
|
|||
super.viewDidLoad()
|
||||
}
|
||||
|
||||
func actOnDetailDisclosureButton(_ sender: Any?) {
|
||||
@objc func actOnDetailDisclosureButton(_ sender: Any?) {
|
||||
if let link = sender as? String {
|
||||
let svc = SFSafariViewController(url: URL(string: link)!, entersReaderIfAvailable: false)
|
||||
self.present(svc, animated: true, completion: nil)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue