• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSPageLayout obsolete?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSPageLayout obsolete?
      • From: Kyle Sluder <email@hidden>
References: 
 >NSPageLayout obsolete? (From: Daryle Walker <email@hidden>)
 >Fwd: NSPageLayout obsolete? (From: SevenBits <email@hidden>)

  • Prev by Date: Fwd: NSPageLayout obsolete?
  • Next by Date: Re: NSPageLayout obsolete?
  • Previous by thread: Fwd: NSPageLayout obsolete?
  • Next by thread: Re: NSPageLayout obsolete?
  • Index(es):
    • Date
    • Thread