On Mar 20, 2010, at 4:24 AM, Philippe Sismondi
wrote:
Had I not been compelled to support OS X 10.4 I would have re-
written the whole thing to use something better than threads - GCD
or NSOperationQueue capabilities are said to be safer, although I
have not yet learned them.
Let's nip
On 2010 Mar 20, at 22:27, Gideon King wrote:
> Go to your project Info panel, and make sure the debug configuration is
> chosen. In the Language section add -DISDEBUGGING to the Other C Flags
Yes; note that the leading -D is part of the syntax. I believe that DEBUG is
somewhat conventional, i
Go to your project Info panel, and make sure the debug configuration is chosen.
In the Language section add -DISDEBUGGING to the Other C Flags
Then you will be able to use #ifdef ISDEBUGGING etc in your code.
HTH
Gideon
On 21/03/2010, at 3:22 PM, BareFeet wrote:
> Hi all,
>
> OK, I'm missi
Hi all,
OK, I'm missing something obvious here.
How can I test whether my program is running in debug or release? I'd like to
wrap a bunch of log file writes in an if statement so it only bothers if I'm
debugging?
How can I detect debug at compile time? (eg #if ISDEBUGGING)
How can I detect a
On Mar 20, 2010, at 12:32 PM, Jonathan Chacón wrote:
> I'm searching some documentation about 3D sound to play sounds at left,
> right, etc channel and modify the frequency of the sound but I don't find
> anything in NSSound.
NSSound is a bare minimum API; it’s basically for playing alerts. If
On Mar 20, 2010, at 1:52 PM, Gabriel Fernandez wrote:
> I wanted to get a subset of an entity's attributes because one of the
> ManagedObject's attributes is a large image.
You might consider another design: one that defines two entities, such that the
image attribute of your object is replace
I'm not sure I understand your question. "How" is they just use Core Data with
our SQLite NSPersistentStore and it works for multiple processes on a single
machine. For most but not all customers, that's coordinated with POSIX byte
range advisory locks (fcntl). "Why" is to have Cocoa framewor
I'm trying to use run multiple CoreImage operations concurrently using
NSOperation. Sometimes it works, sometimes it doesn't. Smells like what you'd
get when trying to run multiple operations that are not thread safe.
Before I dig in much deeper, am I wrong that running multiple concurrent
Core
On 20 Mar 2010, at 12:52 PM, Gabriel Fernandez wrote:
> 2) using the -setPropertiesToFetch: method of NSFetchRequest, with the "id"
> NSAttributeDescription I'm looking for as the only object in the properties
> array. But when I use the -(NSArray*) properties method of the fetched
> objects, t
On Mar 20, 2010, at 1:32 PM, Jonathan Chacón wrote:
> I'm searching some documentation about 3D sound to play sounds at left,
> right, etc channel and modify the frequency of the sound but I don't find
> anything in NSSound.
>
> how can I control pane, channel, tone and volume of a sound?
Use
Hello,
I'm searching some documentation about 3D sound to play sounds at left, right,
etc channel and modify the frequency of the sound but I don't find anything in
NSSound.
how can I control pane, channel, tone and volume of a sound?
I'm searching this info for Mac and iPhone.
thank
Hi Ken,
Thanks for your lengthy response to my question. I suspected that was the case,
but I wanted to see if the Community knew something I didn't. Thank you for
confirming my understanding of the KVC Set/Array operators.
On Mar 19, 2010, at 4:22 AM, Ken Thomases wrote:
> Those operators don
I wanted to get a subset of an entity's attributes because one of the
ManagedObject's attributes is a large image.
I've tried
1) creating a blank Managed Object Model and adding only the attributes I want,
but of course the PSC says
that the MOM that was used to create the store is different,
On Mar 19, 2010, at 21:04, Richard Somers wrote:
> When moving a slider in a preference panel I sometimes get an error.
>
> 2010-03-19 01:46:49.860 MyApp[4249:10b] Error setting value for key path
> values.ABRadius of object [applies
> immediately: YES] (from bound object with object ID 59
>
On Mar 20, 2010, at 10:25 AM, Jim Correia wrote:
You use the key “radius” in the code you’ve pasted below.
True. I bind the "radius" property of the external class to the
controller key path "values.ABRadius".
You should always reassign self.
self = [super init];
if (! self) return;
I
On Mar 19, 2010, at 10:04 PM, Richard Somers wrote:
> 2010-03-19 01:46:49.860 MyApp[4249:10b] Error setting value for key path
> values.ABRadius of object [applies
> immediately: YES] (from bound object with object ID 59
> in Nib named ABPreferencePanel.nib): [
> valueForUndefinedKey:]: this
Hi Ben,
Does this mean I can't use any mapping models anymore since they only
update from one data model to another one? What's the right class to
do it manually?
Thanks.
- Tobias
On Mar 17, 2010, at 11:35 PM, Ben Trumbull wrote:
About the second question -- do you know how to solve the m
Thanks all. Those suggestions help.
BTW, I inherited the code that does the offending "while" loop. It came from
someone's previous attempt to solve exactly one problem: that the secondary
thread might finish before the main thread's modal window was even up. I hope I
have solved this by start
During the course of the Save As operation, core data creates a temporary clone
of my managed objects, which appears to be part of its normal way of doing
things (I can replicate this in a test project), but in the case of my project
it is creating *two* clones of all my objects. One has the met
Hi Ben,
Can you be kind enough to explain how Apple frameworks do that ? (multiple
processes, single machine, one SQLite database)
I'm thinking of CalendarStore, AddressBook framework. Can you describe what is
the general idea behind those Apple frameworks?
Aurélien,
Objective Decision Team
20 matches
Mail list logo