CallJS sample

2013-05-19 Thread Huibert Aalbers
nce [theWebView stringByEvaluatingJavaScriptFromString:[[scriptText textStorage] string]] doesn't seem to return anything. Any ideas on what may be wrong with the sample? Regards, Huibert Aalbers ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

CALayer subclass question

2008-06-04 Thread Huibert Aalbers
le to find any complete examples on how to properly subclass NSLayer. Everyone seems to believe that it is either unnecessary or complex. Thanks in advance for your help. Regards, Huibert Aalbers ___ Cocoa-dev mailing list (Cocoa-dev@lists.appl

Re: CALayer subclass question

2008-06-04 Thread Huibert Aalbers
Jun 4, 2008, at 11:19, Huibert Aalbers wrote: I am starting to work with Core Animation. I have tried to subclass CALayer but I am having problems because for some reason the drawInContext method never gets called, even though I invoke setNeedsDisplay on the layer. What is weird though is that

Most efficient way to "merge" CA layers

2008-06-11 Thread Huibert Aalbers
Hi everyone, I am writing an app that uses multiple layers to display objects that move over a static background (which is drawn in its own layer). After the animation completes, I do no longer need all those layers and I guess that it would be more efficient to "merge" all these layers into a sin

Linking the "document edited" flag to the Undo menu item state

2009-04-02 Thread Huibert Aalbers
Hi everyone, I am writing an application that offers support for Undo/Redo. Everything works fine, except for a small detail that bothers me. Since I set the document edited flag manually, using the [theWindow setDocumentEdited:YES] instruction each time the document is modified, I have n

Re: Linking the "document edited" flag to the Undo menu item state

2009-04-02 Thread Huibert Aalbers
Wow, That certainly qualified as a simple solution :-) However, it didn't work. Maybe that is because my application is not document-based. Any additional suggestions? Regards, Huibert On 02/04/2009, at 09:59 p.m., Graham Cox wrote: On 03/04/2009, at 2:57 PM, Huibert Aalbers

Re: Linking the "document edited" flag to the Undo menu item state

2009-04-03 Thread Huibert Aalbers
On Apr 2, 2009, at 10:57 PM, Huibert Aalbers wrote: Hi everyone, I am writing an application that offers support for Undo/Redo. Everything works fine, except for a small detail that bothers me. Since I set the document edited flag manually, using the [theWindow setDocumentEdited:YES] i

Request for good advise to programmatically locate iMovie 09

2009-04-09 Thread Huibert Aalbers
Hi everyone, I am writing an app that requires to know if and where iMovie 09 is installed, since it needs to read a file located in its application bundle. I know I could ask the user to locate the app, but I would like to avoid it if possible, or use this strategy as a last resort. Any

Re: Request for good advise to programmatically locate iMovie 09

2009-04-09 Thread Huibert Aalbers
Thank you very much to both of you. Works like a charm. Regards, Huibert On 09/04/2009, at 06:16 p.m., Sean McBride wrote: On 4/9/09 2:25 PM, Nick Zitzmann said: I am writing an app that requires to know if and where iMovie 09 is installed, since it needs to read a file located in its appl