• 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
new crash in Xcode 4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

new crash in Xcode 4


  • Subject: new crash in Xcode 4
  • From: David Rowland <email@hidden>
  • Date: Wed, 13 Jul 2011 14:06:19 -0700

I finally installed Xcode 4 and SDK 4.3 yesterday, and I have been testing my code against it. Most is fine, but I have a crash where none existed in Xcode 3.  The problem is in an animation routine,


- (void)highlightLabel:(UILabel *)label {
  label.alpha = 1.0;
  infoButton.hidden = FALSE;
  [UIView animateWithDuration:2.5
                        delay:0
                      options:UIViewAnimationOptionAllowUserInteraction
                   animations:^{label.alpha = 0.0;}
                   completion:^(BOOL finished){if (finished)infoButton.hidden = TRUE;}];
}




The report is,

2011-07-13 13:51:55.884 G[3347:207] *** +[UIView animateWithDuration:delay:options:animations:completion:]: unrecognized selector sent to class 0x21c189c


And it appears to be the completion routine that is doing it. infoButton is retained and should be in existence at this point. The source code has not changed since Xcode 3.

Anyone recognize this problem?

thanks,

David

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: new crash in Xcode 4
      • From: Conrad Taylor <email@hidden>
    • Re: new crash in Xcode 4
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: Non-executable build products?
  • Next by Date: Re: new crash in Xcode 4
  • Previous by thread: Re: Non-executable build products?
  • Next by thread: Re: new crash in Xcode 4
  • Index(es):
    • Date
    • Thread