Re: Swapping views in print panel
Re: Swapping views in print panel
- Subject: Re: Swapping views in print panel
- From: Steve Mills <email@hidden>
- Date: Mon, 23 Mar 2015 01:47:22 -0500
On Mar 23, 2015, at 01:15:38, Graham Cox <email@hidden> wrote:
>
> Why not just create additional instances of the view that your print panel can use correctly? In the end they look at the same data model, just display it differently. What you seem to be trying to do is make one view do double duty, instead of making a new view of the same data model.
I started off doing that in code, but it was ending up taking way too much code just to correctly set up the NSTableView, columns, delegates, bindings, etc so it would display the data. I guess I could create one in a xib and load it rather than trying to manually create it in code. Bleah. I was just hoping there was a way to do it, since the print panel is obviously able to use the table *on its own* without causing any anomalies in the doc window.
Thanks guys.
--
Steve Mills
Drummer, Mac geek
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden