• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: constants? strings? what do i wrong?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: constants? strings? what do i wrong? (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Finder Icon Badging...
  • Next by Date: Rendezvous registered servicenames list [DNS SRV (RFC 2782) Service Names]
  • Previous by thread: Re: constants? strings? what do i wrong?
  • Next by thread: Re: constants? strings? what do i wrong?
  • Index(es):
    • Date
    • Thread