Re: Best way to composite/tile multiple CGImages to one image

2014-03-08 Thread Kevin Meaney
On 8 Mar 2014, at 06:55, Trygve Inda wrote: >> >> On 8 Mar 2014, at 5:02 pm, Trygve Inda wrote: >> >>> This is slower by about 15%. :( > > Interestingly if I call: > > CGContextSetInterpolationQuality ([context graphicsPort], > kCGInterpolationNone); > > It results in 10% slower processing

Re: Best way to composite/tile multiple CGImages to one image

2014-03-08 Thread Uli Kusterer
On 08 Mar 2014, at 04:38, Trygve Inda wrote: > I need to composite/tile about 20 images in a 4x5 grid to one image. What for? Knowing that might help finding a way to speed it up. I.e. why are the images separate, where are they supposed to go in the end? Display on screen? Writing to a standa

Re: NSTask for external tool - keep active/prevent relaunch?

2014-03-08 Thread Scott Ribe
On Mar 7, 2014, at 11:24 PM, Trygve Inda wrote: > The issue is that the > time spent launching the tool is vastly more then doing the tool's work... Are you sure about that??? Just because time is spent in the "launch" method doesn't prove that. You might want to sample (or spindump) everything

Re: Best way to composite/tile multiple CGImages to one image

2014-03-08 Thread Trygve Inda
> On 08 Mar 2014, at 04:38, Trygve Inda wrote: >> I need to composite/tile about 20 images in a 4x5 grid to one image. > > What for? Knowing that might help finding a way to speed it up. I.e. why are > the images separate, where are they supposed to go in the end? Display on > screen? Writing to

Re: [ANN] WFBezierCombinatorics

2014-03-08 Thread David Hoerl
On 3/7/14, 10:43 PM, cocoa-dev-requ...@lists.apple.com wrote: I’ve written a category on NSBezierPath that allows boolean operations on paths (union, intersection, subtraction) which preserves curved elements throughout the operation and does not require "flattening" paths into line segments pr

Re: [ANN] WFBezierCombinatorics

2014-03-08 Thread David Delmonte
Thanks Noah, this is really instructive. On Mar 7, 2014, at 10:24 PM, Noah Desch wrote: I’ve written a category on NSBezierPath that allows boolean operations on paths (union, intersection, subtraction) which preserves curved elements throughout the operation and does not require "flattenin

Re: Two kinds of NSManagedObject fault?

2014-03-08 Thread Frédéric Testuz
Le 8 mars 2014 à 03:54, Jerry Krinock a écrit : > Sixten is correct about -isDeleted. It is rarely useful. > > Regarding these two kinds of managed object faults, your “second” kind is > similar to what I described in a message I posted earlier today [1]. In my > case, > > -isFault retur

Re: Two kinds of NSManagedObject fault?

2014-03-08 Thread Jerry Krinock
On 2014 Mar 08, at 11:45, Frédéric Testuz wrote: > I suspect that in your test case, the number are tagged pointers, then they > are never deallocated as they are not allocated in first place. And are you > sure that the string tested are not static strings (NSCFConstantString) ? > These ones

Best way to make Finder/Mail style toolbars?

2014-03-08 Thread Jens Alfke
I want my Mac app's toolbar to look like the ones in the Finder and Mail, with each item drawn as a framed button. So far the only way I’ve found to do this is to give each NSToolbarItem a custom view that’s an NSSegmentedControl with one segment. This is awkward and kind of annoying since the i

Re: Best way to make Finder/Mail style toolbars?

2014-03-08 Thread Lee Ann Rucker
Subclass NSToolbarItem to validate the custom view. - Original Message - From: "Jens Alfke" To: "Cocoa Dev List" Sent: Saturday, March 8, 2014 8:08:36 PM Subject: Best way to make Finder/Mail style toolbars? I want my Mac app's toolbar to look like the ones in the Finder and Mail, with