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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T09:34:01+00:00 2026-05-25T09:34:01+00:00

How do you figure out how many outlets you need by just looking at

  • 0

How do you figure out how many outlets you need by just looking at the finished App Design ?

I know outlet is An ivar that you create and want to connect to an object in a nib file.

  • 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-25T09:34:02+00:00Added an answer on May 25, 2026 at 9:34 am

    The right answer to this is that you don’t care how many IBOutlets you have – the number is meaningless. It’s like asking how many variables I need in my program.

    As a few people have pointed out with varying degrees of accuracy, you need an outlet if you need to update a UI element independently of user interaction with that element. Examples would be:

    • A cancel button that is only active when a network transfer is in progress
    • An activity spinner that stops when the network transfer finishes
    • a login field you need to populate with data from NSUserDefaults.

    The best advice I can give you is to stop worrying about this and start coding. When you need an outlet it’ll be obvious from the code. You’ll have a user story that needs the UI to be updated and to allow that to happen, you’ll need to add the outlet.

    If you really care about the number, you can count them when the app ships to apple and come back to add your own answer here 🙂

    disclaimer – the next section for information only, I don’t recommend you do this:
    To be accurate, you don’t need any IBOutlets to interact with the UI. You can locate a reference to a control (or any UIView subclass) at runtime using tags. A view’s tag is simply a NSInteger proerty that you can search for in the view hierarchy. UIView exposes a method called - (UIView *)viewWithTag:(NSInteger)tag which searches all of its subviews for a view with the specified tag. You can either set tags at runtime or in interface builder. Of course using tags is both a runtime (processing) overhead and is more difficult to maintain that using outlets.

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

Sidebar

Related Questions

SO I am trying to figure out how many pages I will need to
I have an array of words, I need to figure out how many words
I'm wishing to figure out how many milliseconds a particular function uses. So I
I'm trying to figure out the best way to save a simple one-to-many relationship
I was today trying to figure out on working with WebService and found many
Many times we find ourselves working on a problem, only to figure out the
I've tried many functions already, but I simply can't figure this out. The right
I need to figure out what div is visible out of four possible divs
I am trying to figure out how many clock cycles or total instructions it
I'm trying to figure out how could many boost classes be able to accept

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.