Re: Can't drag/drop create new data model in Interface Builder
Re: Can't drag/drop create new data model in Interface Builder
- Subject: Re: Can't drag/drop create new data model in Interface Builder
- From: email@hidden
- Date: Sun, 8 May 2005 16:48:37 -0400
Is your Core Data model complete and does it compile successfully?
The visual picture is complete, does compile, but it does have to-one
relationships - that if I change them into to-many relationships,
magic happens and the UI gets created. Not what I want, but it is a
start.
I've seen cases where a UI failed to be created in IB because a
model had incomplete / undefined attributes or relationships.
However, I have yet to see this behavior in the GM of Tiger.
I have a UI from a seed version of Xcode back in February, that was
generated by the option drag and drop. But it no longer works to
generate UI from that data model using option drag and drop unless I
change the to-one relationships in the data model to to-many
relationships.
So at this moment I will just have to "not have" to-one relationships
until Apple fixes the bug that Malcolm reported. The workaround I
guess is to delete or convert by hand any "to-many" that should
really be "to-one" once a UI is created. Some of the problem is that
I don't really know what I want yet, so I am experimenting.
The process is further confused by bugs making possible ideas not
tenable because the UI is not generated or the UI does not interact
with my code correctly because of bugs, but often I don't know the
difference between a bug and something I did incorrectly.
But at least at this point I have something that I can continue to
play with.
Thanks.
Andrew
- Scott
On May 7, 2005, at 9:27 PM, Andrew Taylor wrote:
Hello,
I can't find a Core Data mail list, so the Cocoa list looks like
it would be the closest fit.
The new version of Xcode that shipped with Tiger GM, and possibly
sometime earlier has a problem, or maybe the procedure has changed.
It used to be that after creating a data model, you could open a
window in Interface Builder, then option drag the data model into
a new window and the UI for the data model is automatically created.
That does not work any more.
The dialog box comes up and asks me if I want a UI for one object
or many objects. I can answer either one or many and get the same
result. No UI.
Is this a bug or has the process for doing this changed?
thanks.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40pixelfreak.net
This email sent to email@hidden
- - -
:: email@hidden
:: http://www.pixelfreak.net
- - -
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden