Re: block animation
Re: block animation
- Subject: Re: block animation
- From: David Duncan <email@hidden>
- Date: Tue, 3 May 2011 08:53:49 -0700
On May 3, 2011, at 3:40 AM, Brian Bruinewoud wrote:
> Hi All,
>
> self.view.alpha is animated but nothing at all happens to drawingVC.view.
My guess would be that 'drawingVC.view' isn't actually in a window anywhere.
Given your current and previous question however, I would posit that you are mis-using UIViewControllers and possibly causing various other issues for yourself (that said, I don't know why you get the results you do in your other question).
I would highly recommend that you read the View Controller Programming Guide, especially the section on view controller containment (spoiler alert: what you are doing is not supported). If you want to be able to load arbitrary views from nibs to add to a view managed by a view controller, the recommendation is to use an NSObject subclass to own the view and UINib to load the nib.
--
David Duncan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden