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
Post a Comment