> On Aug 18, 2014, at 9:13 AM, Daryle Walker <dary...@mac.com> wrote:
> 
>> On Aug 18, 2014, at 8:36 AM, SevenBits <sevenbitst...@gmail.com> wrote:
>> 
>> On Monday, August 18, 2014, Daryle Walker <dary...@mac.com
>> <javascript:_e(%7B%7D,'cvml','dary...@mac.com');>> 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?)

Before you speculate like this, you should try the alternative. -beginSheet… is 
a drop-in replacement for -runModal. (Just use +[NSPrintInfo sharedPrintInfo].)

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to