Posts

Post not yet marked as solved
10 Replies
3.2k Views
Hi All!Kind of new to macOS development long time iOS developer.I am wokring on a document based app and I can open files with the Open Dialog just fine however when I double click on a file it launches my app just fine however there is nothing in the window and the viewDidLoad() on my document view controller is never called thus no content. I am presented with an empty window/VC. Also, it never hits my breakpoints in the debugger.About the app: Document based video player. The view in the ViewController scene contains an AVPlayerView and I setup the URL to the video to be played. If I use the Open command on the Menu bar my read(from url: is called in my Document class and that is where I get the URL to play. Seems to work just fine when using the Menu Bar however when I double click those methods appear to not be called (can't debug, nothing breaks in debugger). Any help appreciated!Thanks,Michael
Posted
by michaelg.
Last updated
.