PhotoTransitionsExample
PhotoTransitionsExample copied to clipboard
Use CG geometry functions to reduce frame sizes
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!