Fixed error with Xcode 6 - Beta 4. It complains that scrollView is uninitialized, and I believe the answer is to make the type optional.
Then one solution is to add casts at each callpoint, but I'm not sure it's the best way.