• 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: NSApplication and UIApplication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSApplication and UIApplication


  • Subject: Re: NSApplication and UIApplication
  • From: Luke the Hiesterman <email@hidden>
  • Date: Mon, 6 Jul 2009 15:02:47 -0700


On Jul 6, 2009, at 2:55 PM, Greg Parker wrote:


On Jul 6, 2009, at 2:27 PM, Luke the Hiesterman wrote:

On Jul 6, 2009, at 1:25 PM, DKJ wrote:

Any idea why the app is refusing to restart? This is what I get in the Apple report:

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Application Specific Information:
iPhone Simulator 3.0 (138), iPhone OS 2.2.1 (5H11)
*** Terminating app due to uncaught exception 'NSInvalidArgumentException',
reason: '*** -[UITableViewCell initWithStyle:reuseIdentifier:]: unrecognized selector sent to instance 0x530f10'


Does this mean that the message listed is being sent to something that isn't a UITableViewCell? Is there away I can use that instance number to track down that something?

Yes, that error means the object you're using at that moment is not a UITableViewCell, since UITableViewCell obviously responds to to initWithStyle:reuseIdentifier:.

Not exactly. The instance was a UITableViewCell at the time the exception was created; the class name in the description comes from the object itself.

Right, yes. Read it too fast. I noticed your crash report says

iPhone Simulator 3.0 (138), iPhone OS 2.2.1 (5H11)

That indicates that your simulator is actually running 2.2.1 software, where initWithStyle:reuseIdentifier doesn't exist, since it became available in 3.0.


Luke
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSApplication and UIApplication
      • From: DKJ <email@hidden>
References: 
 >NSApplication and UIApplication (From: DKJ <email@hidden>)
 >Re: NSApplication and UIApplication (From: Luke the Hiesterman <email@hidden>)
 >Re: NSApplication and UIApplication (From: DKJ <email@hidden>)
 >Re: NSApplication and UIApplication (From: DKJ <email@hidden>)
 >Re: NSApplication and UIApplication (From: Luke the Hiesterman <email@hidden>)
 >Re: NSApplication and UIApplication (From: Greg Parker <email@hidden>)

  • Prev by Date: Calendar Sync
  • Next by Date: Re: Calendar Sync
  • Previous by thread: Re: NSApplication and UIApplication
  • Next by thread: Re: NSApplication and UIApplication
  • Index(es):
    • Date
    • Thread