cocoa - Designing views/windows in Mac OSX first time -


i tackle first mac osx project after developing ios. in ios applications, clear me whole navigationviewcontroller->myviewcontroller->myviews paradigm.

a bit more background on ios app easier understand me: application sort of graphic viewer. once login have list of drawings, , if select one, opens up. in ios app have custom uiviewcontroller have menu ui , uiscrollview holds uiview in draw drawing. custom uiviewcontroller responsible acting "application" uiview inside merely graphic context.

now - mac: thinking main window show drawings , once 1 selected, add window nsview graphic context of drawing, , window acting uiviewcontroller in ios app.

does make sense?

you can have nsviewcontroller or nswindowcontroller on mac, put controller logic in. if you're going separate windows, subclassing nswindowcontroller make sense.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -