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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T19:39:47+00:00 2026-05-28T19:39:47+00:00

I am trying to create a UITableView that lists each teacher in my school

  • 0

I am trying to create a UITableView that lists each teacher in my school and acts as a link to each teacher’s web page.

I have taken the HTML code off of the webpage and not have the list of teachers and page URLs.

To ensure privacy, the list code I am showing you is not real and the names and site addresses have been changed. It is an example, but is equivalent to what I am trying to do.

The list code is:

<div class="field-element"> <select name="" class="form-select launcher" id="" ><option value="0">-Select-</option><option value="/subsite/teacher/714">LastName, Firstname</option><option value="/subsite/teacher/286">LastName2, FirstName2</option><option value="/subsite/teacher/734">LastName3, FirstName3</option><option value="/subsite/teacher/513">LastName4, FirstName4</option></select>

with the /subsite/teacher/... code being the teacher page link appended to the URL www.website.com (resulting in www.website.com/subsite/teacher/... and the actual name of the teacher following that URL code in the HTML. This cycle repeats for each teacher.

How can I create an array of each teacher and the corresponding link for a UITableView from that HTML code? The UITableView would display the teacher’s name in the format LastName, FirstName and when that cell is clicked, a UIWebView will open the corresponding web page.

Some example code would be greatly appreciated.

Note: Understand that the number of teachers could fluctuate, so it is not safe to assume the same number of teachers and the same names each time.

Thanks.

  • 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-28T19:39:48+00:00Added an answer on May 28, 2026 at 7:39 pm

    The general outline of the code could go this way:

    • Get the data from the site.
    • Parse the data to get each web-site. For this the easiest in my opinion is to use the NSString class and probably using the componentSeparatedByString:.
    • Generate an array of models or data-sources for the UITableView and populate it. Consider on the development of your model that you should not only include the name of the teacher but also the web-site as a property of that object.
    • Implement the didSelectRowAtIndexPath: method to respond to each cell by pushing a UIWebView initialized at the site corresponding to the teacher’s website.

    Hopefully this will help you.

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

Sidebar

Related Questions

Im trying to create a listing app that is core data backed.The first page
I am trying to create programmatically a uitableview that can scroll and fit based
I am trying to create a generic UITableView in my iPhone app. I have
I'm trying to create a view programmatically. The result that i want to have
here's my issue, i'm trying to create a UITableView that is able to display
I am trying to create a UITableView Section that contains two buttons aligned horizontally.
I am trying to create a UITableView that only displays the number of rows
I'm trying to create a custom view for my UITableView footerView that has a
I want to create a UITableView with varying row heights, and I'm trying to
I am trying create a WCF service that leverages the WPF MediaPlayer on the

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.