• 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
Re: IB corrupts XIB when setting NSPredicateEditor->Rows binding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IB corrupts XIB when setting NSPredicateEditor->Rows binding


  • Subject: Re: IB corrupts XIB when setting NSPredicateEditor->Rows binding
  • From: Florian Soenens <email@hidden>
  • Date: Fri, 19 Jun 2009 13:48:13 +0200

Marcus,

have you been able to recover your file. I just experienced the same thing and i am desperate...

Txs,
Florian.

On 31 Oct 2008, at 02:52, Markus Spoettl wrote:

Hello List,

IB reliably trashes an XIB file as soon as you set the Rows binding of an NSPredicateEditor. Save the XIB and try opening it again, you're greeted with this message:

-----
The document "predicateEditorTest.xib" could not be opened. Operation could not be completed. (com.apple.InterfaceBuilder error -1.) Check the console log for additional information.
-----


The console logs these errors:

-----
10/30/08 6:11:20 PM Interface Builder[301] Exception raised while decoding document objects - [<NSCustomObject 0x194b5120> valueForUndefinedKey:]: this class is not key value coding-compliant for the key somePath.
-----


After dismissing the error message more errors are logged:

-----
10/30/08 6:11:38 PM Interface Builder[339] *** -[NSCFDictionary initWithObjects:forKeys:count:]: attempt to insert nil value at objects[0] (key: IBObjectsWithInvalidWarnings)


10/30/08 6:11:38 PM Interface Builder[339] An instance 0x19407df0 of class NSCustomObject is being deallocated while key value observers are still registered with it. Observation info is being leaked, and may even become mistakenly attached to some other object. Set a breakpoint on NSKVODeallocateBreak to stop here in the debugger. Here's the current observation info:
<NSKeyValueObservationInfo 0x18efb010> (
<NSKeyValueObservance 0x19400150: Observer: 0x19404b80, Key path: somePath, Options: <New: YES, Old: YES, Prior: NO> Context: 0x93d861a8, Property: 0x19400130>
)


10/30/08 6:11:38 PM Interface Builder[339] *** Assertion failure in - [NSWindowGraphicsContext reenableFlush], /SourceCache/AppKit/ AppKit-949.35/GraphicsContext.subproj/NSWindowGraphicsContext.m:147

10/30/08 6:11:38 PM Interface Builder[339] Invalid parameter not satisfying: _flushDisableCount > 0
-----


Steps to recreate are quite simple:

1) Create a new Cocoa Window XIB
2) Drop an NSPredicateEditor
3) Focus the Predicate Editor and set the "Rows" binding.
4) Save and Close the XIB
5) Open the saved file

Also, after that IB is in an unstable state and needs to be restarted. Setting the "Value" binding doesn't corrupt the XIB.

I'm using Xcode 3.1.1 (with iPhone SDK installed) on Mac OS X 10.5.5

Is this known?

Regards
Markus
--
__________________________________________
Markus Spoettl

_______________________________________________
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



Looking for Web-to-Print Solutions? Visit our website : http://www.vit2print.com


This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information and/or information protected by intellectual property rights. If you are not the intended recipient, please note that any review, dissemination, disclosure, alteration, printing, copying or transmission of this e-mail and/or any file transmitted with it, is strictly prohibited and may be unlawful. If you have received this e-mail by mistake, please immediately notify the sender and permanently delete the original as well as any copy of any e-mail and any printout thereof. We may monitor e-mail to and from our network.

NSS nv Tieltstraat 167 8740 Pittem Belgium _______________________________________________
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: IB corrupts XIB when setting NSPredicateEditor->Rows binding
      • From: Markus Spoettl <email@hidden>
  • Prev by Date: Re: Confused by earlier errors
  • Next by Date: Re: Xcode 3.1.3 Release Notes
  • Previous by thread: Re: Confused by earlier errors
  • Next by thread: Re: IB corrupts XIB when setting NSPredicateEditor->Rows binding
  • Index(es):
    • Date
    • Thread