public AlbumDetailsCellView() { var vc = new AlbumDetailViewController(); view = vc.View; view.AutoresizingMask = NSViewResizingMask.WidthSizable | NSViewResizingMask.HeightSizable; AddSubview(view); }
public AlbumView() { this.DividerStyle = NSSplitViewDividerStyle.Thin; this.IsVertical = false; AddSubview(CollectionView = new BaseCollectionView <AlbumViewModel, Album>() { Frame = new CoreGraphics.CGRect(0, 0, 500, 1000), AutoresizingMask = NSViewResizingMask.WidthSizable | NSViewResizingMask.HeightSizable, Model = new AlbumViewModel { GroupInfo = { GroupBy = "", } } }); var vc = new AlbumDetailViewController(); albumDetailsView = vc.View; }