Пример #1
0
        void PushView(string identifier, string title, NSView view)
        {
            history.Push(new RouteItem {
                Identifier = identifier,
                View       = view
            });

            breadcrumbView.AddItem(identifier, title);

            detailViewController.SetContentView(view);
            windowController.PresentView(detailViewController.View);

            if (history.Count > 1)
            {
                detailViewController.ShowBreadcrumb();
            }
        }