tciuro/NoticeView — pull request #33 by rlester (2013-01-08 01:37:00+00:00)
Title: Issue When Applying Notice View To View That Has Been Transformed.

They Tito,

I believe I found a bug when I was working on a project earlier today. NoticeView sets the width using the frame of the view its being applied to. If the view NoticeView is being applied to has been transformed (CGAffineTransform) the frame will not be valid. This caused weird behavior in the project I was using NoticeView in by making notice view's width only half the screen.

Source: https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIView_Class/UIView/UIView.html - See the warning on transform.

Where I believe this is more of an issue is when using a modal that has been animated. I am trying to find a reputable source to quote but I am not 100% positive its true. But it looks like some of the modal transforms apply a transform to the UIView causing NoticeView to appear incorrectly.

The change is very minor so take a look and let me know what you think.

Thanks,
Rob