• 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: indexOfTabViewItemWithIdentifier keeps crashing App SOLVED
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >indexOfTabViewItemWithIdentifier keeps crashing App (From: Ole Voß <email@hidden>)
 >Re: indexOfTabViewItemWithIdentifier keeps crashing App SOLVED (From: Ole Voß <email@hidden>)

  • Prev by Date: Re: Forcing Black on RTF Text generated from NSAttributedString
  • Next by Date: Re: Retain/release question
  • Previous by thread: Re: indexOfTabViewItemWithIdentifier keeps crashing App SOLVED
  • Next by thread: Re: indexOfTabViewItemWithIdentifier keeps crashing App
  • Index(es):
    • Date
    • Thread