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 they

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 reveals that the sample declares com.apple

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

2014-10-01 Thread Felix Franz
On 01.10.2014, at 19:39, Sean McBride 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 to pass the > mes

Re: CoreData Save As-problem

2014-06-26 Thread Felix Franz
On 25.06.2014, at 23:53, Jerry Krinock 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 chf

Re: CoreData Save As-problem

2014-06-25 Thread Felix Franz
On 24.06.2014, at 14:05, Felix Franz 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

Re: CoreData Save As-problem

2014-06-24 Thread Felix Franz
On 24.06.2014, at 14:27, Roland King 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 issues with s

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 ea

Re: CallJS sample

2013-05-19 Thread Felix Franz
On 19.05.2013, at 22:06, Huibert Aalbers 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 "Run JavaScript

Re: Watching a file for changes.

2013-03-20 Thread Felix Franz
On 20.03.2013, at 16:23, Mr. Gecko wrote: > How can I watch for file changes? E.G. I open a file in Text Edit, I change > the file by adding a few words, I save the file. After the file is saved, > I'll like to know it was saved. > > I need to know how to do this both in 10.8 and 10.4. E.G. F

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 "

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 NSOperati

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 manag

Re: Bounds of selected NSTableView cell

2012-04-08 Thread Felix Franz
mins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/franz%40ergosign.de > > This email sent to fr...@ergosign.de -- Mit freundlichen Grüßen, Felix Franz Lead Software Engineer ERGOSIGN GmbH Europa-A

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

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 l

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/ i

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

2011-02-22 Thread Felix Franz
com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/franz%40ergosign.de > > This email

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 g

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 > MyDocum

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 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 Sluder Thank you

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 b

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 P

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 sti

Re: Saving NSManagedObject in Core-Data

2008-04-01 Thread Felix Franz
On 01.04.2008, at 02:03, malcom wrote: This is what I've made (suppose you receive a data from a multithreaded socket). 1) You receive the packet 2) Put it into a temp array 3) When you reach a number x of messages you can call the save function The save function repeats these statements f