On Jun 11, 2010, at 8:32 PM, ico wrote: > On Sat, Jun 5, 2010 at 1:19 AM, jeremy <jf_li...@mac.com> wrote: > >> Would you provide some additional information: >> >> 1) Is the IB designed custom view in MainWindow.xib or is it in its own nib >> file? >> >> 2) Did you create a custom view controller class to manage the screen full >> of content shown in the custom view? >> >> >> On Jun 4, 2010, at 12:53 PM, ico wrote: >> >>> I have created a custom view in the Interface Builder, how can I specify >> the >>> superview for this custom view? For example, >>> I want to make its superview be UIWindow rather than another custom view. >> >> > 1) Yes, it is IB designed custom view, actually I drag that custom view from > IB library to my main screen, it is MainWindow.xib. > 2) No, I didn't create a custom view controller class to manage the screen. > > I open the nib file(only one in my project), and design my UI. So I have > only one default UIWindow. What I want to know is, > when I drag a custom view(call it view A) to my application screen, suppose > it has to be put on top of another custom view(call it view B). Is there any > way I can specify the superview of view A to be the default UIWindow rather > than view B.
Why can't you simply drag a UIView out of the catalogue and drop it onto the Window in MainWindow.xib? Cheers, . . . . . . . . Henry _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com