Re: dataWithPDFInsideRect returns raster text

2013-12-23 Thread Leo
If it doesn't work, you may need to use CGPDF... stuff and combine your elements in PDF manually. But that's just a guess as I never had to solve the issue you describe. Leo On 12/19/13, 12:12 PM, Leonardo wrote: I get a pdf from my NSView using dataWithPDFInsideRect. If my view contains

Re: Sandboxing: Can't bookmark enclosing folder of user-selected file

2013-12-23 Thread Mike Abdullah
Ah, does seem you're a bit stuck then. May be worth spending a DTS incident to see if you can get a definitive answer. One workaround that comes to mind is you might be able to export your files such that they go: example.pdf = example.processed.pdf which would mean technically the

Re: NSArray firstObject?

2013-12-23 Thread Gordon Apple
That¹s also a problem with re-declared methods not labeled as IBAction, such as a few contained in NSTextView. (e.g., superscript, subscript.) Another point with firstObject. I assumed this was the same as array[0] or objectAtIndex:0, but apparently not so. If I remember correctly, these result

Re: PDFView not rendering pages on scroll

2013-12-23 Thread Martin Hewitson
Dear list, I now have further information on this problem. I used one of my DTS tickets and I’m now in contact with an Apple engineer. So far it has not been too fruitful - I need to keep repeating that this is not an iOS issue, but an OS X issue. Anyway, I did have one interesting

comboBoxSelectionDidChange not called

2013-12-23 Thread Scott Ribe
comboBoxSelectionDidChange in my delegate is not called when the user selects an item using the mouse. - The target action for a selection change *is* called. - Problem is 10.6 only, it is called as expected on 10.7/8/9. - It used to work, I changed the SDK to 10.6 from 1.4 and rebuilt in

Re: NSArray firstObject?

2013-12-23 Thread Jens Alfke
On Dec 23, 2013, at 7:02 AM, Gordon Apple g...@ed4u.com wrote: FirstObject is a better choice and avoids having to pre-check for count != 0. Yes, that’s exactly its purpose. It’s the counterpart of lastObject. —Jens ___ Cocoa-dev mailing list

Re: PDFView not rendering pages on scroll

2013-12-23 Thread Scott Ribe
On Dec 23, 2013, at 11:34 AM, Martin Hewitson martin.hewit...@aei.mpg.de wrote: Something else: if one uses the context menu on the PDF view to switch to single page mode (not continuous) then you can’t switch pages. There is no next page. I'm working on similar issues this morning, so

Re: iTune Plist changes from NSUserdefaults

2013-12-23 Thread Madhavi Gundeti
Hi Jens, Thank you so much for the reply. But Is there any way to change other user defaults as root user?? Thanks and Regards, Madhavi G. On Mon, Dec 23, 2013 at 4:39 AM, Jens Alfke j...@mooseyard.com wrote: On Dec 11, 2013, at 4:45 AM, Madhavi Gundeti madhavi.gundet...@gmail.com wrote:

Re: iTune Plist changes from NSUserdefaults

2013-12-23 Thread Jens Alfke
On Dec 23, 2013, at 9:32 PM, Madhavi Gundeti madhavi.gundet...@gmail.com wrote: But Is there any way to change other user defaults as root user?? I don’t know. Look at CFPreferences; it has more options than NSUserDefaults. Is there a reason you have to do this as root, rather than the user

Re: iTune Plist changes from NSUserdefaults

2013-12-23 Thread Madhavi Gundeti
I am developing a daemon which runs as root, so I wanted to change the user defaults from the daemon. Now I got it, It is not possible with NSUserdefaults. So I found another way to do that. I created another application which is called by this daemon and the application will do the job what