There are many ways to do it.
One is to have a series of buttons on the left.
On the righjt, you display your view, by subclassing NSView :
- either one new class for each view, if they are really different
- or loading different content in the same subclass, if views are very similar.
That is pretty simple, if you master the basic concepts of OSX apps. Have you already studied some tutorial about it ?
Thanks for the help.
And yes, i have been looking for tutorials for the last few weeks but i never have found one.
Could you please refer me to an specific tutorial for this please?
>am thinking in using the same kind of layout
Might want to note this ASRG admonition... 3.2.2 Unacceptable:
- Creating an interface for displaying third-party apps, extensions, or plug-ins similar to the App Store or as a general-interest collection.
Otherwise, I think the MAS uses a SplitView, unless it's actually a browser, in which case WKWebView, WebKit JS & CSS.
No im not looking to copy the App Store, just the way it works with the buttons on the left and the view changing on the right side depending on what button you select on the left side.
Did you look at my proposal ?
As said, there are many other ways or variations:
- put all the buttons a a stackview
- use splitWindow
As for tutorials, I did not think of this very specific case, but more general about XCode, Swift and APIs.
For instance (if you are a beginner):
App development with Swift
Thanks for the help!