Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 667507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:56:11+00:00 2026-05-13T23:56:11+00:00

Althoug I read everywhere that the method signature has a BOOL for finished, I

  • 0

Althoug I read everywhere that the method signature has a BOOL for finished, I do never get a false. It is always true. And now the strange thing:

When I NSLog that out with %d, it is always either 32 or 40. Other BOOLs I have are either 1 or 0. That makes no sense. So: Not a bool, right?

What’s that instead, really?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T23:56:11+00:00Added an answer on May 13, 2026 at 11:56 pm

    The method signature for the did stop delegate selector is

    - (void)animationDidStop:(NSString *)animationID finished:(NSNumber *)finished context:(void *)context;
    

    The finished parameter is an NSNumber that wraps up a boolean value. In Objective-C and other languages, any non-zero value is considered true (even negative numbers).

    You can call [finished boolValue] on the NSNumber instance to get a true BOOL, YES or NO value.

    The finished boolean value will be NO if the animation was cancelled or otherwise interrupted before completing it’s full animation. If the animation ran through fully, then it will be YES.

    From the docs:

    finished

    An NSNumber object containing a Boolean value. The value is YES if the animation ran to completion before it stopped or NO if it did not.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I read somewhere, although I can't remember where, that using the lock keyword in
I've read that multiline string literals were proposed to be added in Java 7.
I read in this bugfix description that xhtmlrenderer should support the orphans and widows
I've read that although SQL is meant to be standardised, it is implemented different
I have read that ToString() uses reflection (although it should just put quotation marks
Almost everywhere I read the use of FORCE INDEX is highly discouraged and I
I am writing a web application that has a page that returns a list
although I read through the manual here: http://www.doctrine-project.org/documentation/manual/1_2/hu/hierarchical-data I couldn't find a way to
Although I read dozens of answers I could not find a solution. I'm using
Although I have read the similar questions, this problem seems to be the exact

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.