PhotoTransitionsExample icon indicating copy to clipboard operation
PhotoTransitionsExample copied to clipboard

Use CG geometry functions to reduce frame sizes

Open mightyleader opened this issue 12 years ago • 0 comments

Hey, I really enjoyed this presentation at Alt Tech Talks London. I've been working through implementing it myself today to learn the techniques. One thing I noticed was in a few places you reduce the size a views frame with CGRectMake, passing in the new values. You can make a slightly cleaner call with: self.blurredView.frame = CGRectInset(containerView.bounds, -25, -25);

Thanks again for the great talk and sample project!

mightyleader avatar Dec 23 '13 14:12 mightyleader