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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T06:15:54+00:00 2026-05-24T06:15:54+00:00

In my iphone app i am programmatically creating the labels ,,i am creating array

  • 0

In my iphone app i am programmatically creating the labels ,,i am creating array of labels
like UILabel *lblVersionName[20]; i need to copy the contents of the label into some string so i need to define property like

@property(nonatomic,retain)UILabel *lblVersionName[20];

but its giving error that “property can not have array of function type lblVersionName[20]”

cant we have property for array of labels(lblVersionName[20])
please somebody do help me, thanx 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-24T06:15:54+00:00Added an answer on May 24, 2026 at 6:15 am

    From the documentation:

    Supported Types

    You can declare a property for any Objective-C class, Core Foundation data type, or “plain old data” (POD) type

    So you’re trying to add a property for an unsupported type.

    Like Terente wrote, you should use NSArray or NSMutableArray.

    You might have a reason for why you need a c array, but that is only going to cause you a lot of trouble down the road. Don’t fight the frameworks.

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

Sidebar

Related Questions

How to add add UITabBar programmatically for iphone app. Need some suggestion and sample
In an iPhone app I'm developing, I need to send an email programmatically (read,
I'd like to open the iphone calendar app programmatically from within my app. According
In iPhone App, Can we take pictures at some perticular time intervals programmatically by
How would one change the view on the screen programmatically in an iPhone app?
My iphone app called Google Local Search(non javascript version) to behave some search business.
I am creating a custom UITableViewCell class in my iPhone app, but I am
i want to change the locale programmatically in my iphone app (basically because not
I have some data in my local database in my iPhone app. I want
how do i programmatically exit a view in an iPhone app

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.