• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: block animation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: block animation
      • From: Brian Bruinewoud <email@hidden>
References: 
 >block animation (From: Brian Bruinewoud <email@hidden>)

  • Prev by Date: Re: Drawing FULL NSAttributedString
  • Next by Date: Vertical alignment in NSTextView
  • Previous by thread: block animation
  • Next by thread: Re: block animation
  • Index(es):
    • Date
    • Thread