• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Drag and Drop between xibs without re-typing bindings? Arghhh!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drag and Drop between xibs without re-typing bindings? Arghhh!


  • Subject: Drag and Drop between xibs without re-typing bindings? Arghhh!
  • From: Jerry Krinock <email@hidden>
  • Date: Thu, 15 Jul 2010 13:52:52 -0700

I have three tables and six buttons in a tab view item, bound to three array controllers, plus other bindings, totalling several dozen bindings.  Yup, I want to copy this structure into another xib!

If I drag them one at a time, of course all the bindings are lost.  If I try and drag/drop or copy/paste either the tables, the view containing the tables, the tab view item, the tab view, or the whole window, together with the three array controllers, Interface Builder 3.2.2 crashes with an Assertion Failure, usually in the drag/copy but once in the paste.

Re-typing all these bindings into the Info panel is going to take about an hour and a half, plus probably another hour to fix the mistakes.  Does anyone know the least hair-pulling way to do this?  I'd even try editing the xml in BBEdit if someone would tell me that it can be done.  It looks quite treacherous.

Thanks,

Jerry Krinock

P.S.  Another reason why I hate writing "code" into a GUI.

Report has been "Sent to Apple"...

Process:         Interface Builder [47180]
Path:            /Developer/Applications/Interface Builder.app/Contents/MacOS/Interface Builder
Identifier:      com.apple.InterfaceBuilder3
Version:         3.2.2 (762)
Build Info:      InterfaceBuilder-7620000~4
Code Type:       X86 (Native)
Parent Process:  launchd [183]

Date/Time:       2010-07-15 13:29:49.659 -0700
OS Version:      Mac OS X 10.6.4 (10F569)
Report Version:  6

Interval Since Last Report:          443772 sec
Crashes Since Last Report:           1
Per-App Interval Since Last Report:  1512762 sec
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      1692E6A4-37BF-4503-B48F-E80F806993F5

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000008
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
Assertion Message: An uncaught exception was raised.

Exception Name: NSInvalidArgumentException
Reason: *** -[NSCFArray insertObject:atIndex:]: attempt to insert nil
User Info: (null)

Thread 0 Raised an Exception:
0   CoreFoundation                   0x969d8b9d __raiseError + 381
1   libobjc.A.dylib                  0x918de509 objc_exception_throw + 56
2   CoreFoundation                   0x969d88e8 +[NSException raise:format:arguments:] + 136
3   CoreFoundation                   0x969d885a +[NSException raise:format:] + 58
4   Foundation                       0x994f4532 _NSArrayRaiseInsertNilException + 75
5   Foundation                       0x99448199 -[NSCFArray insertObject:atIndex:] + 118
6   Foundation                       0x9944811b -[NSCFArray addObject:] + 68
7   CocoaPlugin                      0x129450b8 IBPickBestBindingToRemove + 1704
8   InterfaceBuilderKit              0x001c724e -[IBObjectContainer(IBObjectContainerAdditions) putObjects:onPasteboard:forOwner:withArchivingDelegate:context:] + 2334
9   InterfaceBuilderKit              0x001bf957 -[IBDocument putObjects:onPasteboard:forOwner:context:] + 167
10  InterfaceBuilderKit              0x00169ba3 -[IBDocument putObjects:onPasteboard:forOwner:] + 83
11  InterfaceBuilderKit              0x00221238 -[IBDocumentWindowController copy:] + 136
12  AppKit                           0x95faaf1e -[NSApplication sendAction:to:from:] + 112
13  Interface Builder                0x000055be
14  AppKit                           0x95faadd1 -[NSMenuItem _corePerformAction] + 435
15  AppKit                           0x95faaac2 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 174
16  AppKit                           0x960a6603 -[NSMenu _performActionWithHighlightingForItemAtIndex:] + 49
17  AppKit                           0x960a5daf -[NSMenu performKeyEquivalent:] + 314
18  AppKit                           0x960a4553 -[NSApplication _handleKeyEquivalent:] + 581
19  AppKit                           0x95f9a4da -[NSApplication sendEvent:] + 4858
20  Interface Builder                0x0000506d
21  AppKit                           0x95f2e5bb -[NSApplication run] + 917
22  AppKit                           0x95f265ed NSApplicationMain + 574
23  Interface Builder                0x00002bef
24  Interface Builder                0x00002b85

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Drag and Drop between xibs without re-typing bindings? Arghhh!
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: [Xcode] Where have all the samples gone?
  • Next by Date: Re: Drag and Drop between xibs without re-typing bindings? Arghhh!
  • Previous by thread: Build setting to control header install mode?
  • Next by thread: Re: Drag and Drop between xibs without re-typing bindings? Arghhh!
  • Index(es):
    • Date
    • Thread