On 05/01/2010, at 12:16 AM, Joshua Garnham wrote: > I know there are tutorials > like Marcus Zarras which shows how to change from one view to another, > but I would like to animate in a view which isn't going to replace another > view. Here's what I have at the moment:http://drp.ly/9w86s (Test App). > The view seems to slide in but the view isn't actually displayed. What's > wrong?
The view 'secondView' is not part of the window, so there's nothing to display. All your code is doing is shrinking the first view, which is part of the window because you added it in IB. You need to add 'secondView' to the window's content using [[window contentView] addSubview:secondView] at the start of the animation. I realise you're only trying out a few ideas, but don't get carried away with this design - you need to move this stuff into a proper controller for your window. --Graham _______________________________________________ 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