Fwd: NSPageLayout obsolete?

2014-08-18 Thread SevenBits
From: *SevenBits* Date: Monday, August 18, 2014 Subject: NSPageLayout obsolete? To: Daryle Walker On Monday, August 18, 2014, Daryle Walker > 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:

Re: NSPageLayout obsolete?

2014-08-18 Thread Daryle Walker
On Aug 18, 2014, at 8:36 AM, SevenBits wrote: > On Monday, August 18, 2014, Daryle Walker > 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 p

Re: NSPageLayout obsolete?

2014-08-18 Thread Kyle Sluder
> On Aug 18, 2014, at 9:13 AM, Daryle Walker wrote: > >> On Aug 18, 2014, at 8:36 AM, SevenBits wrote: >> >> On Monday, August 18, 2014, Daryle Walker > > wrote: >> >>> I just read a post on StackOverflow that the “Page Setup…” menu item is >>> obsolete, especially for non-document apps. I tr

Re: NSPageLayout obsolete?

2014-08-18 Thread Daryle Walker
On Aug 18, 2014, at 12:30 PM, Kyle Sluder wrote: >> On Aug 18, 2014, at 9:13 AM, Daryle Walker wrote: >> >>> On Aug 18, 2014, at 8:36 AM, SevenBits wrote: >>> >>> On Monday, August 18, 2014, Daryle Walker >> > wrote: >>> I just read a post on StackOverflow that the “Page Setup…” menu it

Re: Quickie about constraints

2014-08-18 Thread Ben Kennedy
Thank you Charles and Roland for pointing out that section of documentation, and correcting in detail my mis-advice in the first reply. Going back to what Kyle replied to me originally: >> Can't you simply set translatesAutoresizingMaskIntoConstraints = NO on the >> views in question? Then yo

Re: NSPageLayout obsolete?

2014-08-18 Thread Daryle Walker
On Aug 18, 2014, at 1:03 PM, Daryle Walker wrote: > On Aug 18, 2014, at 12:30 PM, Kyle Sluder wrote: > >> Before you speculate like this, you should try the alternative. -beginSheet… >> is a drop-in replacement for -runModal. (Just use +[NSPrintInfo >> sharedPrintInfo].) > > I added a runPag

Re: NSPageLayout obsolete?

2014-08-18 Thread Kyle Sluder
On Aug 18, 2014, at 7:27 PM, Daryle Walker wrote: > >> On Aug 18, 2014, at 1:03 PM, Daryle Walker wrote: >> >>> On Aug 18, 2014, at 12:30 PM, Kyle Sluder wrote: >>> >>> Before you speculate like this, you should try the alternative. >>> -beginSheet… is a drop-in replacement for -runModal. (J

Storing a value to access across app launches and even re-install

2014-08-18 Thread Navneet Kumar
Hi, I need to store a numeric value in the system and update and access it across every launch of my app. Also is it possible to safely store it in the system so that it can be picked up even after a re-install of my app? I want it to be secure, so that even a os x savvy user may not be able to