how to record audio from speaker on ios

2012-10-15 Thread WUQWE
I want to record video from iPad screen by AVCaptureSession & AVAssetWriter. now,i could capture video(include microphone sound)。but, The background music will stop when begin record video and the record will stop when play sound effect. My goal is capture the video include microphone sound ,

Re: filtering an array of entities using NSPredicate

2012-10-15 Thread Koen van der Drift
I think this is the solution: NSFetchRequest *fetchRequest = [[NSFetchRequest alloc] init]; [fetchRequest setEntity: [NSEntityDescription entityForName: @"Person" inManagedObjectContext: context]]; [fetchRequest setPredicate: [NSPredicate predicateWithFormat: @"name IN %

Re: filtering an array of entities using NSPredicate

2012-10-15 Thread Koen van der Drift
On Mon, Oct 15, 2012 at 11:51 AM, Keary Suska wrote: > Willeke probably addressed your issue best. The contents of the collection > that you pass to the aggregate expression must be the same type of value as > the left hand expression. So, to have "name IN {ARRAY}", ARRAY *must* be an > array

Re: filtering an array of entities using NSPredicate

2012-10-15 Thread Keary Suska
On Oct 15, 2012, at 6:23 AM, Koen van der Drift wrote: > On Mon, Oct 15, 2012 at 8:19 AM, Jerry Krinock wrote: >> >> On 2012 Oct 15, at 03:45, Koen van der Drift >> wrote: >> >>> So I cannot directly filter an array of dictionaries using a predicate? >>> That was the whole goal of my questi

Re: filtering an array of entities using NSPredicate

2012-10-15 Thread Koen van der Drift
On Mon, Oct 15, 2012 at 8:19 AM, Jerry Krinock wrote: > > On 2012 Oct 15, at 03:45, Koen van der Drift > wrote: > >> So I cannot directly filter an array of dictionaries using a predicate? That >> was the whole goal of my question, see my original post. > > Oh, now I see. I'd assumed that 'per

Re: filtering an array of entities using NSPredicate

2012-10-15 Thread Jerry Krinock
On 2012 Oct 15, at 03:45, Koen van der Drift wrote: > So I cannot directly filter an array of dictionaries using a predicate? That > was the whole goal of my question, see my original post. Oh, now I see. I'd assumed that 'persons' was an array. It's a dictionary! But that should still work

Re: filtering an array of entities using NSPredicate

2012-10-15 Thread Koen van der Drift
So I cannot directly filter an array of dictionaries using a predicate? That was the whole goal of my question, see my original post. - Koen. On Oct 15, 2012, at 6:33 AM, Willeke wrote: > > Op 15 okt 2012, om 02:05 heeft Koen van der Drift het volgende geschreven: > >> >> On Oct 14, 2012,

Re: filtering an array of entities using NSPredicate

2012-10-15 Thread Willeke
Op 15 okt 2012, om 02:05 heeft Koen van der Drift het volgende geschreven: > > On Oct 14, 2012, at 7:56 PM, Willeke wrote: > >> the predicate should be something like >> name IN {"Jones A.", "Williams S.", "Brown M.", "Tobias S."} >> >> what is persons in this statement? >> [fetchRequest setP