Skip navigation.
 
mlRe: indexOfTabViewItemWithIdentifier keeps crashing App SOLVED
FROM : Andrew Farmer
DATE : Fri Dec 10 20:57:43 2004

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.