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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:40:50+00:00 2026-05-24T11:40:50+00:00

Using XCode 4.1 I’ve come across a crash whenever I try to use a

  • 0

Using XCode 4.1 I’ve come across a crash whenever I try to use a CollectionView.

These are the steps I’m doing:

  1. From a new project, edit the MainMenu.nib file.
  2. Add an NSCollectionView to the window, which also adds a Collection View
    Item, and a new View In the new View
  3. Add a control like an NSTextField
  4. Select the control, and switch the inspector to the binding pane.
  5. Attempt to bind something to the Collection View Item.
    Once the Collection View Item is selected in the dropdown menu, an
    “Internal Error” dialog appears. Attempting to continue from this dialog makes the
    binding pane disappear until you restart XCode

Does this happen for anyone else or is it just something I’m coming across?
Is there a way to work around it to allow me to bind to the Collection View Item (I want ultimately to bind to the representedObject value) either in XCode or in code.

I attempted to create a custom NSCollectionViewItem subclass that uses a separate nib file and set that as the itemPrototype of the NSCollectionView but things went very wrong then.

  • 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-24T11:40:53+00:00Added an answer on May 24, 2026 at 11:40 am

    I found that splitting the collection view item view into its own XIB and then rewiring the connections so that the collection view item prototype loads the new XIB will allow for you to create the bindings in interface builder without it crashing. I followed these steps…

    1. Delete the collection view item view from the default xib.
    2. Create a new view and XIB inheriting from NSCollectionViewItem.
    3. Create your collection view item in the new view.
    4. Bind the fields to the files owner of the new view.
    5. Back in the collection view xib, update the properties of collection view item to load the bin name of the new xib.

    I’m not sure that it’s quicker than doing it programmatically, but it does allow you to manage the bindings without writing code. I’ve got a few apps working this way now.

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

Sidebar

Related Questions

I'm new to development using Xcode, and am having trouble using the built-in Leaks
Im using Xcode and c++ I have copied the HoughCircles code from the OpenCV
Using Xcode 4.2, I created a new app using the tab bar template. For
Using Xcode 4.x I created a SplitView project for iPad From RootViewController I'm trying
Using XCode 3.2.3 (64-bit), I get following strange output. What am I doing wrong?
Using Xcode 4.2.1 iPad iOS 5.0.1, create a new Single View iPad project. In
I am using XCode 4.2 to develop an iPhone App , I am new
Using Xcode 4.0 sometimes when I remove resources from the project they still appear
Using XCode 4, I created a NEW TabBar Application using the default storyboard settings.
Using Xcode 3.1 on OSX 10.5; is it possible to attach (the debugger) to

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.