Re: Display an Alert Sheet at a Specified Screen Position

2015-03-25 Thread Mike Abdullah
Are you perhaps looking for this API? https://developer.apple.com/library/mac/documentation/Cocoa/Reference/NSWindowDelegate_Protocol/index.html#//apple_ref/occ/intfm/NSWindowDelegate/window:willPositionSheet:usingRect: > On 25 Mar 2015, at 22:06, Dave wrote: > > Hi All, > > I’d like to be abl

Re: Display an Alert Sheet at a Specified Screen Position

2015-03-25 Thread Graham Cox
> On 26 Mar 2015, at 9:06 am, Dave wrote: > > I’d like to be able to display and Model Alert Sheet at an arbitrary screen > location, is this possible? It's not possible because by definition a sheet is attached to another window. You can position a non-sheet modal alert anywhere through its

Re: Display an Alert Sheet at a Specified Screen Position

2015-03-25 Thread edward taffel
use a borderless window, init w/ zero height, and animate the show for requisite frame height. > On Mar 25, 2015, at 6:06 PM, Dave wrote: > > Hi All, > > I’d like to be able to display and Model Alert Sheet at an arbitrary screen > location, is this possible? > > If not, if I created a borde

Display an Alert Sheet at a Specified Screen Position

2015-03-25 Thread Dave
Hi All, I’d like to be able to display and Model Alert Sheet at an arbitrary screen location, is this possible? If not, if I created a borderless window with a transparent content area and positioned it where I wanted it, could I then display the Sheet using this window using [alert beginSheet

Re: Memory optimization of NSAttributedString

2015-03-25 Thread Charles Jenkins
Thank you, Aki. It’s such an awesome and unexpected feature, I found it hard to believe my test results. --  Charles On March 23, 2015 at 16:54:11, Aki Inoue (a...@apple.com) wrote: Hi Charles Yes, NSAttributedString does unique attribute dictionaries. Aki > On Mar 22, 2015, at 5:39

Storyboard warning: internationalization of (null)

2015-03-25 Thread Michael Crawford
I'm debugging a project for a client; he got his OS X App mostly working, then sent it to me to fix. I know how to handle his most serious problem, but I'd like also to silence all the warnings. Main.storyboard: Internationalization of (null) is not available when compiling for targets before