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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T14:27:08+00:00 2026-06-02T14:27:08+00:00

This blog post asks the very question I have: How can one visually manage

  • 0

This blog post asks the very question I have: How can one visually manage toolbar items in Interface Builder? Sure one can use this technique for the top level view, but what about other views? Is there no way I can give my design partner the ability to edit the toolbar items directly in such a view without the hack of creating a placeholder UIToolbar that’s never actually used?

  • 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-06-02T14:27:09+00:00Added an answer on June 2, 2026 at 2:27 pm

    Here’s how I did it. I added this property to my controller @interface:

    @property (nonatomic, strong) IBOutletCollection(UIBarButtonItem) NSArray *toolbarItems;
    

    In the @implementation, I added:

    @synthesize toolbarItems;
    

    Then, in the nib, I had all of the UIBarButtonItems in a UIToolbar. In the “Objects” navigator, I selected them all, then moved them out of the UIToolbar, so that they have no view that they are a part of. Then, for each one, I right-clicked, and dragged the circle next to “New Referencing Outlet Collection” to “File’s Owner”, and selected toolbarItems in the resulting popup. And now, all of the UIBarButtonItems just magically appear in the UIToolbar, no more work necessary.

    Alas, this is not ideal. Now that the UIBarButtonItems are not in a UIToolbar in the nib, they are completely invisible interface builder. They are still in the “Objects” navigator, but one cannot actually see what they look like. This seems like an unfortunate bug (filed as rdar://11234043).

    The other issue is that there is no way to see the order of the items in the IBOutletCollection, as far as I can tell. I added them in the order I want them displayed, right-to-left, but it will be a PITA if I ever need to change the order or add new ones somewhere in the middle.

    Here’s hoping Apple adds nicer IBOutletCollection support to interface builder, with visible containers of some kind.

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

Sidebar

Related Questions

Just finished reading this blog post: http://www.skorks.com/2010/03/an-interview-question-that-prints-out-its-own-source-code-in-ruby/ In it, the author argues the case
Should be an easy one. I thought, from reading this blog post that I
like in this post here by exemple I have found this blog but in
In response to this blog post: http://www.simonecarletti.com/blog/2009/02/capistrano-uploads-folder/ I have three questions: Can anyone confirm
As Eric Gunnerson shows in this blog post, in C# you can nest using
I came upon this blog post the other day and literally have no idea
The last image in this blog post . I have tried searching nested bar
This blog post by Joubert just opened my eyes. I have dealt with a
See the bullets on this blog post: http://www.nielsbrinch.com/managing-expectation-management/ I have had to change to
So far, I have implemented the algorithm found on this blog post with limited

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.