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

  • Home
  • SEARCH
  • 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 3241588
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:12:58+00:00 2026-05-17T18:12:58+00:00

I have a TTableView. The items in this table a mapped to an url,

  • 0

I have a TTableView. The items in this table a mapped to an url, so that when I click on an item, another view appear with informations about this item.
All these informations are attributes of a class. So, how can I build my TTableTextItem URL in order to transmit the class containing informations to the view responsible for the display of these informations ?

Thanks in advance.

  • 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-17T18:12:59+00:00Added an answer on May 17, 2026 at 6:12 pm

    One way of doing it is to use a TTURLAction. When the user selects a row in your table, which will call your didSelectObject (of TTTableViewController) method, extract the object or set of objects you want to pass and build a TTURLAction like this:

    TTURLAction *action =  [[[TTURLAction actionWithURLPath:@"tt://showUser"] 
        applyQuery:[NSDictionary dictionaryWithObject:user forKey:@"kParameterUser"]]
                applyAnimated:YES];
    

    Then open the action:

    [[TTNavigator navigator] openURLAction:action];
    

    The controller you want to open as a result of this action should be registered in your TTURLMap and should have a constructor thus:

    - (id) initWithNavigatorURL:(NSURL*)URL query:(NSDictionary*)query {
        self = [super init];
        if (self != nil) {
            self.user = [query objectForKey:kParameterUser];
        }
        return self;
    }
    

    I tend to create categories on classes for objects I want to be able to open another controller and display themselves.

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

Sidebar

Related Questions

Currently, I have a table view that the user can add items and delete
I have an NSWindow that shows up when you click either of two items
I have a grouped table view with textfields in the tableview. For the keyboard
I have an iPhone app that utilizes TableView to list tagged items that the
My plan is to display a list of items alphabetically in a table view
i have the following item to display in my table redFlowers = [[NSMutableArray alloc]
I have a script that appends some rows to a table. One of the
Have you managed to get Aptana Studio debugging to work? I tried following this,
I have a tableView that needs to be updated after information has been inserted
We are about to submit an application to the App store and we have

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.