One Quickie


Instantiate a new view controller from a storyboard (UIKit->General)
        let detailVC = self.storyboard?.instantiateViewController(withIdentifier: "PlaylistDetailsViewController") 
            as! PlaylistDetailsViewController
        detailVC.playlist = playlist
        
        self.present(detailVC, animated: true, completion: nil)



borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book

webmonster@borkware.com