Re: constants? strings? what do i wrong?
Re: constants? strings? what do i wrong?
- Subject: Re: constants? strings? what do i wrong?
- From: Jörn Salewski <email@hidden>
- Date: Tue, 03 Feb 2004 11:20:05 +0100
am 02.02.2004 23:25 Uhr schrieb Nick Zitzmann unter email@hidden:
>
On Feb 2, 2004, at 1:59 PM, Steffi Krause wrote:
>
>
>> NSLog (@"%@", [ASTRING description]);
>
>
>
> thank you very much for your help. unfortunately the problem is still
>
> there.
As others allready said. In this case I don't think your problem is with the
code you gave us.
>
>
>
> MyApp has exited due to signal 10 (SIGBUS).
Don't you have a crashlog?
>
>
Try it again, like this:
>
>
NSLog(@"%@", ASTRING);
>
>
The "description" message isn't necessary.
Well, I once had the problem in an application using DO for multithreading,
that NSLog(@"%@", myObjectPtr); crashed the application, but using the
description message was fine. It took me ages to find out.
Actually, I always wanted to put this observation to the list and ask if
anybody had an explanation.
>
BTW, is that the real
>
contents of ASTRING, and if not, what does it really say? Remember that
>
NSString constants must be 7-bit, so if you're trying to throw in
>
non-ASCII characters (like 'C<' or 'C'' or 'c', etc.) then that won't
>
work.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.