Пример #1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            // Do any additional setup after loading the view.

            var button = new NSButton();

            View.AddSubview(button);

            button.AutoPinEdgesToSuperviewEdgesWithInsets(new NSEdgeInsets(50, 50, 50, 50));
        }