Is this a good implementation of optimized-zoom?

2014-10-12 Thread Daryle Walker
It’s like a lost art; many people nowadays don’t bother and punt to the default full-screen size. It doesn’t help that some APIs don’t make it obvious what their optimized size should be. > - (NSRect)windowWillUseStandardFrame:(NSWindow *)window > defaultFrame:(NSRect)newFrame { > NSParamet

Re: XPCService not getting launched from app

2014-10-12 Thread Devarshi Kulshreshtha
I tried to refer 'AppSandboxLoginItemXPCDemo' sample from apple: https://developer.apple.com/library/mac/samplecode/AppSandboxLoginItemXPCDemo/Introduction/Intro.html#//apple_ref/doc/uid/DTS40012292-Intro-DontLinkElementID_2"]AppSandboxLoginItemXPCDemo When I tried to run it on XCode 6, it displa

Re: Kerning Pairs

2014-10-12 Thread Raglan T. Tiger
On Oct 11, 2014, at 12:47 PM, Scott Ribe wrote: > So Kyle's question is: what are you trying to accomplish with that table? We have model code that handles the kerning and it is currently being driven by a Windows view and controller and gives the results we need. My task is to make the Mac

NSView and Changing View Bounds...

2014-10-12 Thread Peters, Brandon
I have a custom NSView in which the bounds are changed to shrink or enlarge an image whenever a magnification event is taking place. Printing out to the console shows the bounds origin is changing, but I am not seeing this effect in the application’s window. I override -(void)magnifyWithEvent to

Re: Kerning Pairs

2014-10-12 Thread Kyle Sluder
On Sun, Oct 12, 2014, at 08:36 AM, Raglan T. Tiger wrote: > My task is to make the Mac view and controller to capture the selected > font. The rendering of the font is all good. So now I just need kerning > data that I can put into a KERNINGPAIR structure and my task is complete. That's a means,

Code signing problem using shared framework in Yosemite

2014-10-12 Thread Bill Cheeseman
I'm updating my UI Browser application and my related PFAssistive framework for Yosemite, and I've run into a specific problem related to code signing. I'm wondering if anyone can shed light on this. Specifically, UI Browser calls my framework's Objective-C wrapper metho

Re: Code signing problem using shared framework in Yosemite

2014-10-12 Thread Kyle Sluder
On Oct 12, 2014, at 9:24 AM, Bill Cheeseman wrote: > > I'm updating my UI Browser application and my related PFAssistive framework > for Yosemite, and I've run into a specific problem > related to code signing. I'm wondering if anyone can shed light on this. > > Specif

Re: Code signing problem using shared framework in Yosemite

2014-10-12 Thread Scott Ribe
On Oct 12, 2014, at 10:24 AM, Bill Cheeseman wrote: > ...both the UI Browser application and the framework pass all of the codesign > tests for proper signatures on disk. spctl --assess??? I've run into many cases where codesign says all ok, but spctl finds a problem. (My app embeds an Automa

Re: Code signing problem using shared framework in Yosemite

2014-10-12 Thread Bill Cheeseman
On Oct 12, 2014, at 12:32 PM, Kyle Sluder wrote: > Curious: have you tried scouring your machine for all copies of the app and > deleting them? Since it’s generally not possible to associate a running > executable with a file on disk, the OS might be trying to look up your app > via bundle id

Re: Code signing problem using shared framework in Yosemite

2014-10-12 Thread Bill Cheeseman
On Oct 12, 2014, at 12:42 PM, Scott Ribe wrote: > On Oct 12, 2014, at 10:24 AM, Bill Cheeseman wrote: > >> ...both the UI Browser application and the framework pass all of the >> codesign tests for proper signatures on disk. > > spctl --assess??? > > I've run into many cases where codesign

Re: Concurrent tasks are getting hung up

2014-10-12 Thread Jim Crate
On Oct 11, 2014, at 1:01 AM, Steve Mills wrote: > OK, that makes sense. The docs for NSOperationQueue made it sound like it > would take care of all that for you, figuring out how many threads to create > based on current load, executing them as resources became available, etc. > I've set it t

Re: Kerning Pairs

2014-10-12 Thread Raglan T. Tiger
On Oct 12, 2014, at 9:31 AM, Kyle Sluder wrote: > It sounds like you're trying rrreay hard to avoid admitting to > yourself that your model code needs to be rewritten. I don't think so as our model code works just fine when driven from Windows V-C that get a font, gets it its outline and

Re: Concurrent tasks are getting hung up

2014-10-12 Thread Steve Mills
On Oct 12, 2014, at 18:18:48, Jim Crate wrote: > In one app I’m creating up to 600 or so block operations at once (processing > a list of files), it looks like it takes less than a couple tenths of a > second so it doesn’t seem like it should be noticeable unless you are > creating many thousa

NSPopover tear-off problem

2014-10-12 Thread Graham Cox
Hi all, I have a NSPopover which I allow to be dragged off to a floating window. I'm following the code example in the 'NSPopover' sample fairly closely - I have a separate view controller instance for the window and the popover's content, each loading from the same secondary nib. None of my ni

Re: NSPopover tear-off problem

2014-10-12 Thread Graham Cox
On 13 Oct 2014, at 2:43 pm, Graham Cox wrote: > But if I turn the popover into a window by allowing it to be dragged, the > window's content is screwed up - instead of sizing the overall view to fit > the window, a subview (an NSTableView) is sized to fill the window, and some > other views (

Re: Kerning Pairs

2014-10-12 Thread Jens Alfke
> On Oct 12, 2014, at 7:44 PM, Raglan T. Tiger wrote: > > I don't think so as our model code works just fine when driven from Windows > V-C that get a font, gets it its outline and mer table and call the model. > Beautiful output. Sure, it's just going to be limited by pair-based kerning, wh