Re: IB's "Synchronize with Xcode" feature
Re: IB's "Synchronize with Xcode" feature
- Subject: Re: IB's "Synchronize with Xcode" feature
- From: Jonathan Hess <email@hidden>
- Date: Wed, 13 Feb 2008 13:06:41 -0800
Hey Ron -
Have you had any chance to debug why the tab view ceases to function
at runtime? Is there an exception being thrown? If so, what is the
backtrace? Is this a Carbon NIB or a Cocoa NIB?
Synchronizing with Xcode does two things. It loads header files, and
images. The header files are turned into meta-data that IB uses for
connecting actions and outlets, and shouldn't have any impact on your
running code, they're only used by IB to allow or disallow connecting
an action or outlet.
My first hunch would be that that has something to do with images, or
that syncing with Xcode is a red herring.
If you can find the state changed in your NIB that causes the
breakage, it would really help fixing this.
Jon Hess
On Feb 13, 2008, at 11:46 AM, Mitchell Laurren-Rng wrote:
We're seeing some bizarre run-time behavior in our nibs that we have
linked
to the "Synchronize with Xcode" feature in Interface Builder. Here
are the
specifics:
We have a nib containing a multi-tabbed dialog where each tab has a
number
of controls including checkboxes, radio buttons and the like. The
File's
Owner is the controller class. When we open the nib file in IB with
the
"Synchronize with Xcode" preference on, the nib file is immediately
modified
(presumably some internal synchronization info) and appears as dirty.
At that point, if we save the changes that IB has made, the nib file
no
longer works properly at run-time. The initial tab view displays
correctly
in the dialog but subsequently displayed (i.e. Chosen via clicking
on the
tab) tab views display controls incorrectly. For example, check
boxes and
radio buttons appear with no titles and don't toggle correctly.
Reverting the nib file to it's previous state results in correct run-
time
behavior. If I turn off the "Synchronize with Xcode" preference and
just use
the File menu item, the problem does not occur.
Obviously, we have found a workaround but I was curious if anyone
else had
seen similar problems. A search through the archive for "synchronize
with
xcode" found nothing.
-Mick
--
Mitchell J Laurren-Ring
Senior Software Engineer
Electronics for Imaging
_______________________________________________
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
_______________________________________________
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