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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T03:21:47+00:00 2026-06-11T03:21:47+00:00

I am trying to start programming some animation in Xcode. I tried to Google

  • 0

I am trying to start programming some animation in Xcode. I tried to Google it, but I have few solutions.

One is Quartz 2D and the other one is core animation.

I am not sure which is better and easier to use and learn. My animation should be line animation(2d). I need this animated line between two dots. Is it easy to make? I am confused, because I don’t know where to start. Can you give me some advice, or code sample? Thank you very much!

*added description

I would like to define 10 dots. like this:

1        2         3


4        5         6


7        8         9


0

When I have user input for example 37459 line should be animated between those numbers.

Line should be with gradient.

  • 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-06-11T03:21:49+00:00Added an answer on June 11, 2026 at 3:21 am

    Sounds to me like Quartz2D is the way to go. With Core Animation you define an object and then transform it in various ways and, by default, that transformation is animated.

    However what you need to do is animate it yourself as you are not simply transforming an object. You need to keep track of which line you are currently “growing” and which lines have already been completely animated. As time progresses you need to draw more of the growing line between its endpoints. You can probably do all of this using a simple timer that increments progress between 0.0 and 1.0 (like NSAnimation does) and use that to define how long the currently growing line is.

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

Sidebar

Related Questions

I'm trying to start a phantomjs process from python but for some reason it's
I am trying to get started with some basic Ocaml programming. To start I
I am trying to dive into some x86 assembly programming on my Mac, but
I have done quite some xCode programming and found the overview perspective of the
I'm trying to follow along with some tutorials on the web on Xcode programming.
Attempting to do some asynchronous programming via threads. To start with, I am trying
I am getting start to socket use in C programming language. I am trying
I'm new to programming and I'm trying to do the codingbat.com problems to start.
I'm trying to start an Intent for a navigation: startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(google.navigation:q= + item.getPoint().getLatitudeE6()/1E6
I am trying to start a new Rails project but I am getting a

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.