swift - OSX development, Xib menu and how the storyboard Window Controller associated? -
i have 2 ui files, mainmenu.xib , main.storyboard, main interface of project mainmenu.xib, file nsview, no other windowview.
i don't know how relate them. want implement click mainmenu.xib menu open window controller in main.storyboard. don't know how it.
if they're in storyboard, should pretty good, they're apart. don't know it.
please me find demo or documentation make clearer me, thank you.
while macos apps mix xib files , storyboards (especially apps have custom table view cells), apps in general either xib files or storyboard based.
you need decide approach want take app. storyboards great if app developed 1 or 2 developers , won't merging or colliding changes each other often. xib files more appropriate larger teams each xib file typically contains single window controller plus view (and maybe view controller, too), there's less chance of havoc when doing merges github or subversion repo.
look @ target setting's "deployment info" section. me, looks this:
when make decision xib or storyboard, can make sure of 1 want use via field.
Comments
Post a Comment