Re: indexOfTabViewItemWithIdentifier keeps crashing App SOLVED
Re: indexOfTabViewItemWithIdentifier keeps crashing App SOLVED
- Subject: Re: indexOfTabViewItemWithIdentifier keeps crashing App SOLVED
- From: Andrew Farmer <email@hidden>
- Date: Fri, 10 Dec 2004 11:57:43 -0800
On 10 Dec 2004, at 00:44, Ole Voß wrote:
Sorry people - I solved the problem myself. I was assuming that I
could use '%@' to display the number returned. Obviously NSLog is very
strict about this. Using '%d' solved the problem already.
It's not specifically that it's being "strict" - the "%@" format string
indicates that the matching argument can be treated as a pointer. If it
can't - for example, in this case, you're passing a small integer - it
could probably make demons come out your (program's) nose if it wanted.
Attachment:
PGP.sig
Description: This is a digitally signed message part
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden