NSPathControl doesn't work in xib?
NSPathControl doesn't work in xib?
- Subject: NSPathControl doesn't work in xib?
- From: "Stephen F. Booth" <email@hidden>
- Date: Thu, 27 Dec 2007 21:57:25 -0800
I've come across something that has me stumped- different behavior
depending if a project resource is a .xib or a .nib.
If I add an NSPathControl to a window and set the type to Pop Up, the
xib file will not compile:
CompileXIB /tmp/foo/English.lproj/Untitled.xib
cd /tmp/foo
/Developer/usr/bin/ibtool --errors --warnings --notices --output-
format human-readable-text --compile /tmp/foo/build/Release/foo.app/
Contents/Resources/English.lproj/Untitled.nib /tmp/foo/English.lproj/
Untitled.xib
/* com.apple.ibtool.errors */
Internal Error:
Description: ibtool failed with exception: Error (1002) creating
CGSWindow
However, if I save the .xib as a .nib everything works as expected!
Another strange thing I've noticed with NSPathControl is that if I set
the allowed types to "public.folder", drag operations to them only
work when the project resource is a .nib vs. a .xib.
I am initially using nothing but .xibs for all my Leopard-specific
development. What is it about the .xib format that could be causing
these issues? I always assumed they were compiled to identical .nibs
(compared to what IB would produce), but that doesn't seem to be the
case.
Stephen
_______________________________________________
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