Re: Disabling screen capture

2014-02-27 Thread Bradley O'Hearne
On Feb 23, 2014, at 11:13 PM, Bradley O'Hearne wrote: > So I’ll try the Developer Program support phone number tomorrow, but beyond > that, there’s not much left to try. The DTS web form seems to be the only > game in town. …and the end of the matter: I got through to DTS. After a brief exc

Reduce PDF with QuartzFilter

2014-02-27 Thread Leonardo
In the past I successfully created and used QuartzFilter from within my Cocoa app for OS X and saved pdf files. But now it seems that I am missing something. I have just created 2 filters with ColorSync Utility, one with ImageJPEGCompress Compression Quality 1 (MinComp.qfilter) and one with ImageJ

Re: dataWithPDFInsideRect doesn't clip images within NSView

2014-02-27 Thread Leonardo
Thank you Glenn. You are right. > Furthermore, if the image is a jpg image, clipping would need the image to be > recompressed and end up degrading the image quality (since PDFs can embed jpg > files directly), or again, potentially increase the file size. Yes, I thought about that. And I have inde

Re: NSFetchedResultsController sort on synthesized property?

2014-02-27 Thread Rick Mann
Thanks, Sixten. I had hoped that if it couldn't translate a sort descriptor in to SQL, that it would apply it after fetching. On Feb 27, 2014, at 06:14 , Sixten Otto wrote: > The fetched results controller needs to be able to do its sorting in the > database (assuming a SQLite store). The secti

Re: Crash in -URLByResolvingBookmarkData::::: in sandboxed app

2014-02-27 Thread Andrew Madsen
Hi Markus, We ran into this same problem recently too (http://prod.lists.apple.com/archives/cocoa-dev/2013/Nov/msg00024.html). We spent a quite a bit of time trying to resolve it. After using a DTS incident with Apple, the conclusion was that this is simply a bug in NSURL. It was fixed

Re: Issues with CIFilters and CALayers

2014-02-27 Thread Kevin Meaney
I don't know. I'm not actually trying to integrate CIFilters and Core Animation in the way that you are doing. I remembered that you had mentioned the name property of the CIFilter because that property is actually useful to me, because I need a way to refer to filters which are earlier in the f

Re: Issues with CIFilters and CALayers

2014-02-27 Thread Gordon Apple
Thank you. I would have never found that. But what does “enabled” do? Or, more precisely, what does “not enabled” do? If a filter is not enabled, does that mean it is transparent and simply passes input to output? I can’t believe something so simple in concept as a freeze filter is so difficult

Re: dataWithPDFInsideRect doesn't clip images within NSView

2014-02-27 Thread glenn andreas
A PDF file can "reuse" an image and draw the same thing multiple times in multiple places. If it saved just the clipped version, it would need multiple copies of the same image, which would actually increase the file size. So if the purpose of adding a "cropImages" flags was to save file space,

Re: dataWithPDFInsideRect doesn't clip images within NSView

2014-02-27 Thread Leonardo
Thank you. I have coded it. I lock the focus of the NSView, I draw and get the clipped image, then I re-draw the NSView with the clipped image + borders, rotation, shadow. Of course, since the user could choose the ppi output, I resize-resample the view before locking it. It should be useful to ha

Re: Issues with CIFilters and CALayers

2014-02-27 Thread Kevin Meaney
First a note. The name property is declared as a CACIFilterAdditions in CACIFilterAdditions.h. I think you will need to draw the CIImage to your CIContext and then generate a CGImage to capture its state for future reference and then generate a new CIImage from the CGImage. I believe the CIImag

Re: NSFetchedResultsController sort on synthesized property?

2014-02-27 Thread Sixten Otto
The fetched results controller needs to be able to do its sorting in the database (assuming a SQLite store). The section keypath itself doesn't necessarily need to be a persistent property, as long as its values match the ordering of the sort descriptors. (For instance: a table that sections the re

information about provisioning and code signing - in code

2014-02-27 Thread Torsten Curdt
Hey there, I know on 10.6+ you can use "SecStaticCodeCreateWithPath" and friends to verify the app signature in code. Is there also a way on iOS to somehow access information about things like provisioning profile/certificate from within the app? Ideally I would like to get access to the provisi

Re: dataWithPDFInsideRect doesn't clip images within NSView

2014-02-27 Thread Graham Cox
On 27 Feb 2014, at 9:31 pm, Leonardo wrote: > I draw an NSImage within an NSView scaling its size in order to fill the > image within the view bounds. The image is larger than the NSView's bounds, > but on the display it looks well clipped to those bounds. > > Since the image's NSView is a subV

dataWithPDFInsideRect doesn't clip images within NSView

2014-02-27 Thread Leonardo
I draw an NSImage within an NSView scaling its size in order to fill the image within the view bounds. The image is larger than the NSView's bounds, but on the display it looks well clipped to those bounds. Since the image's NSView is a subView of the page's NSView, I create a PDF saving that pag