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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:43:19+00:00 2026-05-28T00:43:19+00:00

I need to implement a tree of decisions, very simple, not complicated in objective

  • 0

I need to implement a tree of decisions, very simple, not complicated in objective c for iphone / ipad, just a few questions with yes or no and I show some other questions depending on decisions, and finally the app got out of these questions and we get to the core of the app.

In Android I used a viewflipper control, which is like the .NET multiview control, in the sense that in a same control / view you move from one option to the other, it is very simple, you don’t have to create as many viewcontrollers as questions / decisions to take.

So, down to the facts:
– best way to create a screen where user gives us info based on questions. My first idea from other programming languages it’s a multiview control.
– One solution could be to make disappear different views in a viewcontroller, in that case, please some advices to make it with any interesting animation (with viewflipper you create whatever animation you like).

Thx.

  • 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-28T00:43:19+00:00Added an answer on May 28, 2026 at 12:43 am

    The solution has been the following:

    • I have added the views I needed in the Interface Builder, I have put them one besides the other, no need to stack one on top of the other, it’s easier to modify.

    • When I need to show one view I assign the “self.view” to the view I need:

    view1.hidden=YES; 
    self.view=view2;
    view2.hidden=NO;
    

    If you want to make any transition, we have to include the QuartzCore Framework in the libraries, and then you can use CATransition:

    CATransition* transition = [CATransition animation];
    transition.type = kCATransitionPush;
    transition.subtype = kCATransitionFromRight;
    [self.view.layer addAnimation:transition forKey:@"push-transition"];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have big decision tree with many Yes/No questions. i need implement some code
Grrrrrr, trying to implement a very simple tree. It doesn't need to be bidirectional
I need to implement version control, even for just the developing I do at
We need to implement a simple state machine in C . Is a standard
I need to implement a multi-parented tree (or digraph) onto SQL Server 2005. I've
I need to implement a step function (i.e. piecewise constant). There are a few
I would like to implement a m-way search tree and i need the basics
Here is my problem. I need to implement a multi target decision tree algorithm.
I need to implement a B-Tree for University: I have an outer class B-Tree
I need to implement a Checkbox tree and I came across this component called

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.