Re: NSPageLayout obsolete?
Re: NSPageLayout obsolete?
- Subject: Re: NSPageLayout obsolete?
- From: Daryle Walker <email@hidden>
- Date: Mon, 18 Aug 2014 12:13:56 -0400
On Aug 18, 2014, at 8:36 AM, SevenBits <email@hidden> wrote:
> On Monday, August 18, 2014, Daryle Walker <email@hidden
> <javascript:_e({},'cvml','email@hidden');>> wrote:
>
>> I just read a post on StackOverflow that the “Page Setup…” menu item is
>> obsolete, especially for non-document apps. I tried a runPageLayout:
>> method that just did (void)[[NSPageLayout pageLayout] runModal] and nothing
>> happened; not even the menu item became active. Did I mess up, or did
>> Apple go hard core on new apps NOT using the panel?
>
>
> Does it work when you have it display as a sheet using the appropriate
> method?
I didn’t try since I’m using the app-global PrintInfo object. And I already purged the menu item.
So what are we supposed to do now? The regular print panel didn’t seem to have replacement dialogs for that stuff. Do we just programmatically change the PrintInfo object as needed? (How would we know when it needs it?)
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
_______________________________________________
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