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 4231456
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T01:58:19+00:00 2026-05-21T01:58:19+00:00

I have several CAKeyframeAnimation objects in my class. They all have self as the

  • 0

I have several CAKeyframeAnimation objects in my class.
They all have self as the delegate.

In my animationDidStop function, how can I tell where the call is coming from?
Is there any variable I can pass to CAKeyfameAnimation like an animationID or something?

Thanks,
Tee

  • 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-21T01:58:19+00:00Added an answer on May 21, 2026 at 1:58 am

    You can use Key-Value coding to set values for arbitrary keys (keys need not be defined in advance) for a CAAnimation object.

    For example, you can set a value for a key @”tag” for each CAAnimation object as the following:

    CAAnimation oneOfYourAnimations = [CAAnimation animation];
    [oneOfYourAnimations setValue:@"dropAnimation" forKey:@"tag"];
    

    Later, you can read the value of each object as the following:

    [anAnimation valueForKey:@"tag"]; //will return @"dropAnimation" if it's the previous animation
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have Several UIImageViews in a NSMutableArray. They are all in the superView. I
I have several compiled python modules; they are put into a single .so (to
I have several datacontainertype like this but they differ in their content: struct containerRequest
I have several objects, like products, order, etc. When I get information from my
I have several LESS files that are all imported into one master file (styles.less).
I have several process writing to the same log file. How can I synchronize
I have several classes (A, B, C, ...) that all use a List<AnotherClass> to
I have several option that a user can have, mainly to validate his presence
I have several modifying threads and some reading threads, which all access the global
I have several boxes containing the following! <div class=box> <div class=image> <img src=anything.png />

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.