Why does NSDocument do this?

2013-11-22 Thread Graham Cox
Opening files concurrently. When I open a single file, it opens fine and shows up initially unedited (not dirty), as expected. If I open several files by choosing multiple items in the NSOpenPanel, some of them get dirtied when they open. I’ve overridden -updateChangeCount: to see who’s doing

Re: Why does NSDocument do this? [resolved]

2013-11-22 Thread Graham Cox
OK, I got it figured out. It was my fault of course, but an extremely complicated bug to unravel! I have an object that listens for notifications from another object much higher up the object graph (at the document level). If this object is added while the document is open, this notification is

Re: Implementing keyboard shortcuts for shifting focus

2013-11-22 Thread Matthew LeRoy
On Nov 22, 2013, at 12:55 AM, dangerwillrobinsondan...@gmail.com wrote: > > Sent from my iPhone >> On 2013/11/22, at 0:19, Matthew LeRoy wrote: >> >> Good morning, >> >> I've got a document-based application and I'm trying to figure out the >> proper way to implement keyboard shortcuts for shi

Child Window Resize Cursors When Not Key

2013-11-22 Thread Caylan Larson
Hi, Is it possible to get resize cursors on a child NSWindow that is not key? The only thing I can find on this topic is: http://www.cocoabuilder.com/archive/cocoa/209703-using-nstrackingarea-on-overlay-child-windows.html "I did some experimenting and it appears the updateCursor: messag

Sandbox and CIKernel

2013-11-22 Thread Gordon Apple
I¹m a little confused as to whether or not one can use a CIKernel in a samdboxed app. Custom filters often require this and WWDC is full of examples using such. Sandbox guides say no kernel extensions. Is CIKernel a special case? What¹s the story on this?

Re: Sandbox and CIKernel

2013-11-22 Thread Sandy McGuffog
I have used CIKernels in a sandboxed app. Different kernel :) Sandy On Nov 22, 2013, at 5:56 PM, Gordon Apple wrote: > I¹m a little confused as to whether or not one can use a CIKernel in a > samdboxed app. Custom filters often require this and WWDC is full of > examples using such. Sandbox gu

Re: Sandbox and CIKernel

2013-11-22 Thread Kyle Sluder
> On Nov 22, 2013, at 7:56 AM, Gordon Apple wrote: > > I¹m a little confused as to whether or not one can use a CIKernel in a > samdboxed app. Custom filters often require this and WWDC is full of > examples using such. Sandbox guides say no kernel extensions. Is CIKernel a > special case? Wha

Re: file url to string path

2013-11-22 Thread Jeremy Pereira
On 21 Nov 2013, at 00:01, Kyle Sluder wrote: > On Wed, Nov 20, 2013, at 03:26 PM, koko wrote: >> How does one turn this: >> >> file://localhost/Volumes/Macintosh%20HD/Included%20Free%20Designs/Aibnb18(colorized).pes > > http://lmgtfy.com/?q=NSURL Which leads you, via an enormous list to the -

Re: file url to string path

2013-11-22 Thread Erik Stainsby
On Nov 22, 2013, at 10:15 AM, Jeremy Pereira wrote: > > On 21 Nov 2013, at 00:01, Kyle Sluder wrote: > >> On Wed, Nov 20, 2013, at 03:26 PM, koko wrote: >>> How does one turn this: >>> >>> file://localhost/Volumes/Macintosh%20HD/Included%20Free%20Designs/Aibnb18(colorized).pes >> >> http://

Re: file url to string path

2013-11-22 Thread altotest1
Thank you. From: erik.stain...@roaringsky.ca To: jere...@jeremyp.net To: cocoa-dev@lists.apple.com Sent: Fri, Nov 22, 2013 Subject: Re: file url to string path On Nov 22, 2013, at 10:15 AM, Jeremy Pereira wrote: > > On 21 Nov 2013, at 00:01, Kyle Sluder wrote: > >> On Wed, Nov 20, 2013, at 03:2

Re: file url to string path

2013-11-22 Thread Kyle Sluder
On Fri, Nov 22, 2013, at 10:15 AM, Jeremy Pereira wrote: > Which leads you, via an enormous list to the -path method, which gives > you the path part of the URL after unescaping it. In other words, reading the documentation would have revealed the answer? --Kyle Sluder _

Re: Sandbox and CIKernel

2013-11-22 Thread Gordon Apple
Thanks, that is what I was hoping. I have a ChromaKey filter that works very well and was hoping to keep it. I created one using CIColorCube, but it was not as good, and I had issues scaling any applied background image to fit properly, and being able to tweak parameters in real-time. Along this

Text messages

2013-11-22 Thread tridiak
Is there anyway of sending text messages from OS X & iOS programmatically? A google search has indicated no without setting up your own SMS server. I was wondering if anyone has had experience with us. TIA ___ Cocoa-dev mailing list (Cocoa-de

Re: Text messages

2013-11-22 Thread Maxthon Chan
You can launch a text message composing window on iOS with predefined contents, however the user will be able to edit the contents before sending, and general text messaging rules apply, and it may be sent as iMessage when appropriate. On OS X, you are out of luck. Sent from my iPad > On 2013年