Пример #1
0
        public PadView()
        {
            Assembly assembly  = typeof(PadView).Assembly;
            Stream   nibStream = assembly.GetManifestResourceStream(padViewNibResourceId);
            NSData   nibData   = NSData.FromStream(nibStream);
            NSNib    nib       = new NSNib(nibData, NSBundle.MainBundle);

            if (nib.InstantiateNibWithOwner(this, out NSArray nibObjects))
            {
                RootView           = GetPadViewFrom(nibObjects);
                RootView.presenter = CoverageExtension.Presenter(RootView);
            }
        }