Re: Codesigning 3rd party framework

2013-11-05 Thread Jakob Egger
Does anybody know why just specifying "--deep" in "Other Code Signing Flags" is wrong? Is it only a problem with Sparkle, or is there a general problem? In my app I just specified --deep and it seems to work! On 29 Oct 2013, at 10:37 pm, Shazron wrote: > See http://furbo.org/2013/10/17/code-si

Re: Codesigning 3rd party framework

2013-11-05 Thread Seth Willits
When you use —deep, "all signing options you specify [on the app bundle] will apply, in turn, to such nested content [as embedded frameworks, helpers, resources, etc]” which is not the correct thing that should happen. https://devforums.apple.com/thread/203126?start=0&tstart=0 -- Seth Willits

MDItemCopyAttributes replacement for audio

2013-11-05 Thread Gerriet M. Denkmann
I have a folder with some sound snippets. I can use MDItemCopyAttributes to get useful information, like Album, Titel etc. But when I copy this folder into my app (Content/Resources/...) then MDItemCopyAttributes has none of this information. Maybe Spotlight refuses to index app contents. So: h

Re: MDItemCopyAttributes replacement for audio

2013-11-05 Thread Kyle Sluder
> On Nov 5, 2013, at 9:49 AM, "Gerriet M. Denkmann" > wrote: > > I have a folder with some sound snippets. > I can use MDItemCopyAttributes to get useful information, like Album, Titel > etc. > > But when I copy this folder into my app (Content/Resources/...) then > MDItemCopyAttributes has

Mutually exclusive item filtering-comparing

2013-11-05 Thread Chris Paveglio
What is the most efficient way to compare a list of mutually exclusive items? I know this isn't exactly Cocoa/iOS specific. I have a table that needs to disable certain rows based on what other rows are selected. I have several objects, let's say "weapons in a game". Such as a bow and arrow, a

Re: MDItemCopyAttributes replacement for audio

2013-11-05 Thread Jens Alfke
On Nov 5, 2013, at 9:49 AM, Gerriet M. Denkmann wrote: > Maybe Spotlight refuses to index app contents. Right. > So: how can I get this information directly from the sound files? > I found some references to QuickTime and Audio Toolbox, but all this is > deprecated. > What is the current rep

Re: Mutually exclusive item filtering-comparing

2013-11-05 Thread Jens Alfke
On Nov 5, 2013, at 10:17 AM, Chris Paveglio wrote: > My exclusions array has many simple objects. Each object has 3 ivars- > (int)itemID1, (int)itemID2, (string)isMutuallyExclusive (not my design but > could be changed if there is a better way). You can build a bitmap out of this for efficien

Managed-object creation in concurrent NSOperations: Serializing. What to do?

2013-11-05 Thread Fritz Anderson
I'm on a MacBook Pro with a 4-core i7. I'm writing a throwaway command-line tool that builds a Core Data store (SQLite) with (i entity_A) each related to-many to (j entity_B) each related to-many to (k entity_C). For large j or k, this takes a really, really long time. So I tried this: - Creat

Re: Codesigning 3rd party framework

2013-11-05 Thread Jerry Krinock
On 2013 Nov 05, at 03:39, Jakob Egger wrote: > In my app I just specified --deep and it seems to work! No, Seth is correct. It might “seem" like it works, but when a user downloads your app, it will be quarantined and Gatekeeper will block it. To properly test, use the command-line tool spc

URLByResolvingBookmarkData: crashes on 10.8

2013-11-05 Thread patrick machielse
We're developing an application that needs to track a lot of files (say 10k). As recommended, we use url / bookmarks to store references to file system objects. We regularly see crashes that originate here: return [NSURL URLByResolvingBookmarkData:bookmarkData

Re: URLByResolvingBookmarkData: crashes on 10.8

2013-11-05 Thread Jerry Krinock
I haven’t seen any crashes like that, but a few weeks ago, while “modernizing" an app, migrating from the old Alias Manager functions to the newer NSURL bookmarks, I learned something interesting. When I tried to resolve an alias which was on a previously-mounted but currently-unreachable volu

Re: Mutually exclusive item filtering-comparing

2013-11-05 Thread Chris Paveglio
No, that's not really how it works with the data I have. It's not really 1-2 handed weapons, the game metaphor is just an example. I do need to cross reference multiple exclusive options (could be 1 selected that disables 5, or 3 selected that excludes 9 others, etc, very arbitrary). On Tuesd

Re: Mutually exclusive item filtering-comparing

2013-11-05 Thread Chris Paveglio
Could you expand on that a bit or maybe send me a link for more info? My ID numbers aren't sequential from 0 to 100. They are somewhat random (457, 853, 1587, etc). An example would be {item1ID: 234, itemID2: 3987, exclusive:yes}. From  your explanation, would a bitmap index work? Adding my item

Re: Mutually exclusive item filtering-comparing

2013-11-05 Thread Jens Alfke
On Nov 5, 2013, at 2:47 PM, Chris Paveglio wrote: > Could you expand on that a bit or maybe send me a link for more info? My ID > numbers aren't sequential from 0 to 100. They are somewhat random (457, 853, > 1587, etc). An example would be {item1ID: 234, itemID2: 3987, exclusive:yes}. > From

SKIndexAddDocument crashing

2013-11-05 Thread Eric Gorr
I've got a functioning sample project at https://github.com/ericgorr/searchtest.git The relevant code is self contained in the applicationDidFinishLaunching method in ELIZAppDelegate.m... NSBundle* mainBundle = [NSBundle mainBundle]; NSURL* docURL = [mainBundle UR

Re: MDItemCopyAttributes replacement for audio

2013-11-05 Thread Gerriet M. Denkmann
On 6 Nov 2013, at 01:57, Jens Alfke wrote: > > On Nov 5, 2013, at 9:49 AM, Gerriet M. Denkmann wrote: > >> Maybe Spotlight refuses to index app contents. > > Right. > >> So: how can I get this information directly from the sound files? >> I found some references to QuickTime and Audio Toolb

Re: MDItemCopyAttributes replacement for audio

2013-11-05 Thread Kyle Sluder
On Tue, Nov 5, 2013, at 10:29 PM, Gerriet M. Denkmann wrote: > > id aikey = ai.key; // is NSNumber - not documented > OSType hfsFileTypeCode = [ aikey unsignedIntValue ]; > NSString *ke1 = NSFileTypeForHFSTypeCode ( hfsFileTypeCode ); // > not documented either > But this gives ke