FROM : Andrew Farmer
DATE : Tue Dec 07 19:36:53 2004
On 07 Dec 2004, at 06:27, j o a r wrote:
> On 2004-12-07, at 15.14, Vincent Pottier wrote:
>> The problem come from [NSNotificationCenter defaultCenter], it can't
>> be defined in the C function. just add
>> #define center [NSDistributedNotificationCenter defaultCenter] and
>> then use "center" instead of [NSNotificationCenter defaultCenter].
>
> That doesn't make sense. You must have done something else to resolve
> the problem.
> The error you posted in your first message to this thread is a runtime
> error, the solution you post here is a compile time hack (expanded by
> the preprocessor). The two should not be related.
The difference is that you're using a NS*Distributed*NotificationCenter
now. The #definition has nothing to do with it.
DATE : Tue Dec 07 19:36:53 2004
On 07 Dec 2004, at 06:27, j o a r wrote:
> On 2004-12-07, at 15.14, Vincent Pottier wrote:
>> The problem come from [NSNotificationCenter defaultCenter], it can't
>> be defined in the C function. just add
>> #define center [NSDistributedNotificationCenter defaultCenter] and
>> then use "center" instead of [NSNotificationCenter defaultCenter].
>
> That doesn't make sense. You must have done something else to resolve
> the problem.
> The error you posted in your first message to this thread is a runtime
> error, the solution you post here is a compile time hack (expanded by
> the preprocessor). The two should not be related.
The difference is that you're using a NS*Distributed*NotificationCenter
now. The #definition has nothing to do with it.
| Related mails | Author | Date |
|---|---|---|
| Vincent Pottier | Dec 6, 23:31 | |
| Robert Cerny | Dec 7, 09:30 | |
| Vincent Pottier | Dec 7, 15:14 | |
| j o a r | Dec 7, 15:27 | |
| Andrew Farmer | Dec 7, 19:36 |






Cocoa mail archive

