Re: core data, binary objects and efficiency

2011-07-20 Thread Evadne Wu
I think it actually works quite well for very small things (that is, < 10KB). I used this approach for small-ish user avatars as a UIImagePNGRepresentation()-backed transformable attribute on an original iPad. -ev On Jul 21, 2011, at 00:29, Roland King wrote: > Oh I see what you mean. I've al

Re: core data, binary objects and efficiency

2011-07-20 Thread Roland King
Oh I see what you mean. I've already done that as I said in the original message, the audio piece is on a separate entity with a 1-1 relationship to the actual entity which means I can keep it faulted out until I actually need the audio (as opposed to needing the other various properties of the

Re: core data, binary objects and efficiency

2011-07-20 Thread Evadne Wu
Good to know; keep in mind that FileBlob and Audio are entity names I conjured out of thin air and you will have to implement them. :) -ev On Jul 20, 2011, at 23:58, Roland King wrote: > Thanks - I'll look up FileBlob when I re-download all my tools .. I upgraded > to Lion and didn't think abo

core data, binary objects and efficiency

2011-07-20 Thread Roland King
In my iOS app, using core data, one of my model objects is short audio clips, 2-10 seconds worth of reasonably low quality mono audio. Not huge, but not tiny either. Currently I'm using a binary property in my core data model to store them. I've read the documentation and made sure the audio cli