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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T05:48:39+00:00 2026-05-13T05:48:39+00:00

I have a top list view in my current iPhone app, that’s populated by

  • 0

I have a top list view in my current iPhone app, that’s populated by code. I’ve assembled the view using Interface Builder, so it contains lot of UILabels.

Obviously I wouldn’t like to have name1, name2, etc. outlets in my class, but prefer a name[10] array.

Is it possible to do so, and connect each item to the appropriate label (or any other interface builder like view)?

  • 1 1 Answer
  • 1 View
  • 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-13T05:48:39+00:00Added an answer on May 13, 2026 at 5:48 am

    you cannot do it in IB, but you can create an array in your init method and add all your labels to it.

    BTW, you can set some tag to each label and define macro to access it. smth like

    #define NAME[TAG] (UILabel*)[self.view viewWithTag:TAG]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a C#.NET MVC3 web app. I have a View that has a
I have a list view with a label that shows Step #x, another label
Im trying to have a searchbox on the top of my list view. But
I have a list view that show a list of items...well not all of
I have the following class structure class Top : NotifyPropertyChanged { private List<Inner> innerList;
is it possible to have a specific element on top of the list? backgoround:
In the top Form1 level I have: List<float> cyclicSelectedIndex = new List<float>(2); int currentCyclicIndex;
How can I have a top-and bottom margin that's at absoulute top and bottom
I have a view spec that was passing but is broken now that pagination
I have implemented a custom list view which looks like the twitter timeline. adapter

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.