Re: Playing videos on CALayer ?

2022-03-28 Thread Felix Franz via Cocoa-dev
Currently, my app displays images on a CALayer, with some basic animation like so:      CABasicAnimation * anim = [CABasicAnimation animationWithKeyPath: @"bounds.size"]; Now, I would like to include videos, too. So, first of all, how would I put videos on such a CALayer, so that

Re: Screensaver icon ?

2019-09-17 Thread Felix Franz via Cocoa-dev
Hi Gabriel,  looks like the file Contents/Resources/thumbnail.png (or .tiff) in the bundle is used. If I replace this file it simply shows up.  Cheers,  Felix From: Gabriel Zachmann via Cocoa-dev To: Sent: 9/17/2019 9:26 AM Subject: Screensaver icon ? Does anybody know

Re: Problem getting import UTI recognised

2014-10-16 Thread Felix Franz
Just a shot in the dark, but maybe this is an issue: Comparing your declaration to the sample from https://developer.apple.com/library/ios/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_declare/understand_utis_declare.html reveals that the sample declares

Re: Responder chain and cancelOperation:, how to forward on?

2014-10-01 Thread Felix Franz
On 01.10.2014, at 19:39, Sean McBride s...@rogue-research.com wrote: Hi all, I have a custom view which implements cancelOperation: (from NSResponder). Depending on the view's internal state it sometimes responds to the escape key (and sometimes doesn't). When it doesn't respond, I want

Re: CoreData Save As-problem

2014-06-26 Thread Felix Franz
On 25.06.2014, at 23:53, Jerry Krinock je...@ieee.org wrote: Damned ACLs, Felix. I’m starting a checklist of all the relevant file metadata that should be checked whenever a user’s system starts giving unexplained crap to one of my apps. • POSIX permissions • ACLs • Flags (as in

Re: CoreData Save As-problem

2014-06-25 Thread Felix Franz
On 24.06.2014, at 14:05, Felix Franz fr...@ergosign.de wrote: Hello, we got bug reports, that on some machines Save As writes a corrupt file. Now we have access to a machine where this happens, and even a basic test-project (Document-template using CoreData in Xcode) exhibits the same

CoreData Save As-problem

2014-06-24 Thread Felix Franz
Hello, we got bug reports, that on some machines Save As writes a corrupt file. Now we have access to a machine where this happens, and even a basic test-project (Document-template using CoreData in Xcode) exhibits the same problem. The machine is running OSX 10.9.3. On this machine it is

Re: CoreData Save As-problem

2014-06-24 Thread Felix Franz
On 24.06.2014, at 14:27, Roland King r...@rols.org wrote: Completely random idea but has the user on that account turned off autosaving or run any of the command lines which mess around with how autosave or versions at some point in the past? Changing one of those might possibly cause

Re: CallJS sample

2013-05-19 Thread Felix Franz
On 19.05.2013, at 22:06, Huibert Aalbers huib...@gmail.com wrote: Hi everyone, I have been taking a look at the Javascript bridge as a way to allow users to script my Mac app. I have downloaded the CallJS sample from Apple and everything seems simple enough. However, it looks like the

Re: Core Data NSPersistentDocument Concurrency

2013-02-02 Thread Felix Franz
On 02.02.2013, at 00:59, Mike Abdullah wrote: One downside of that is whenever a child needs to fetch data, it must do so via the main context, blocking the main thread while doing so. Depending on your model, that may prove unacceptable. If so, your better bet is to have a single root

Re: Core Data NSPersistentDocument Concurrency

2013-02-01 Thread Felix Franz
On 01.02.2013, at 21:13, mail...@ericgorr.net wrote: The problem then is that my NSPersistentDocument generates an error which says: The document xxx could not be saved. The file has been changed by another application Of course, the other application is the NSOperation which

Re: A question about core data.

2012-04-12 Thread Felix Franz
Hello Michael, On 11.04.2012, at 00:18, Michael Parchet wrote: Hello, I have started a billing project with coco and core data. In my project, I have a form that the user must fill to add a customer (for example) but it seems that core data have only an array controller with a manage

Re: Bounds of selected NSTableView cell

2012-04-08 Thread Felix Franz
This email sent to fr...@ergosign.de -- Mit freundlichen Grüßen, Felix Franz Lead Software Engineer ERGOSIGN GmbH Europa-Allee 12 66113 Saarbrücken Phone: +49 681 98 84 12 14 Fax: +49 681 98 84 12 10 www.ergosign.de HRB 11850 Amtsgericht Saarbrücken Geschäftsführung: Dr. Marcus Plach Prof. Dr

Re: CoreData: Could not fulfill a fault, but only sometimes…

2011-04-28 Thread Felix Franz
Hi, On Apr 27, 2011, at 11:55 PM, Sean McBride wrote: On Thu, 21 Apr 2011 10:52:31 +0200, Felix Franz said: I have a strange bug in my CoreData-Application (sql store). I received bug reports where the program throws an exception Could not fulfill a fault. This happens while loading

CoreData: Could not fulfill a fault, but only sometimes…

2011-04-21 Thread Felix Franz
Hi all, I have a strange bug in my CoreData-Application (sql store). I received bug reports where the program throws an exception Could not fulfill a fault. This happens while loading the document. The only way I can reproduce this problem is using the Time Profiler in Instruments while

Re: diable localization

2011-04-06 Thread Felix Franz
On Apr 5, 2011, at 3:55 PM, Georg Seifert wrote: Hi, I what to give my users the possibility to disable the localization of my app. Is there a way to tell the system (NSBundle?) to always load the english nibs? Just read http://homepage.mac.com/mmalc/Stepwise/Internationalization/ it

Re: Accessing a managedObject property from within an accessor of another property

2011-02-22 Thread Felix Franz
This email sent to fr...@ergosign.de -- Mit freundlichen Grüßen, Felix Franz Lead Software Engineer ERGOSIGN GmbH Europa-Allee 12 66113 Saarbrücken Phone: +49 681 98 84 12 14 Fax: +49 681 98 84 12 10 www.ergosign.de HRB 11850 Amtsgericht Saarbrücken Geschäftsführung: Dr. Marcus Plach Prof

Re: CoreData Migration Problems

2011-02-09 Thread Felix Franz
On Feb 8, 2011, at 9:08 PM, Gordon Apple wrote: I am trying to migrate an existing app CoreData database to a new version. Theoretically, this should be what's called a simple migration. I have not been able to get it to work. Just to see what it's trying to do, I went ahead and let it

Re: CoreData: Crash in NSManagedObjectContext#existingObjectWithID:error:

2011-01-27 Thread Felix Franz
On 26.01.2011, at 19:08, Kyle Sluder wrote: On Wed, Jan 26, 2011 at 10:07 AM, Kyle Sluder kyle.slu...@gmail.com wrote: Start here: Actually, start with either NSZombieEnabled=YES or using the Zombies instrument. And then move on to Greg's article if zombies don't help you. --Kyle

Re: Programmatically Open NSDocument Based Window.

2011-01-27 Thread Felix Franz
On 27.01.2011, at 14:54, Bruce Cresanta wrote: Hello, I am trying to open an NSDocument based window.My NSDocument class follows the standard (MyDocument) class created using the automatic project settings. I do initialization in the awakeFromNib override within MyDocument.

CoreData: Crash in NSManagedObjectContext#existingObjectWithID:error:

2011-01-26 Thread Felix Franz
Hi all, I have a problem with a CoreData-Document. I normally use NSManagedObjectContext#existingObjectWithID:error: method to get the corresponding object for a given Object-ID. According to the documentation it should return nil if the object cannot be fetched, or does not exist, or cannot

Re: newbie question on creating .png files

2009-02-12 Thread Felix Franz
On 12.02.2009, at 17:14, Jean-Daniel Dupas wrote: Unfortunately, I don't think you can save an NSImage as a PNG (it only supports the TIFFRepresentation method). You can create a new NSBitmapImageRep using the TIFFRepresentation and use representationUsingType:properties: to get the

Re: NSArrayController selection for remove: ... how does it know?

2008-07-29 Thread Felix Franz
On 29.07.2008, at 18:01, Roland King wrote: I started over a couple of weeks ago with the new Hillegass book, trying to make sure I understood things properly this time and of course I'm now stuck. I'm at the 'RaiseMan' chapter now. This is where Hillegass introduces a NSArrayController

Re: How to store NSRect as Core Data attribute?

2008-04-02 Thread Felix Franz
On 02.04.2008, at 13:28, Daniel Thorpe wrote: Hello everyone, I'm trying to get to grips with non-standard persistent attributes in Core Data. I've read through the docs I can find (http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdNSAttributes.html ) but I'm