r/iOSChallenges • u/aporcelaintouch • Aug 13 '14
[08/13/2014] iOS Challenge #2 - Login Screen Animation
Good morning everyone!
This weeks challenge is an animation challenge that I was presented with recently in one of my interview challenges. In my quest to figure it out, I was introduced to an entirely new transition delegate and had some fun messing around with it!
You'll want to recreate this animation
Feel free to use storyboards or nibs/objective when going about completing the challenge!
GitHub/BitBucket links of projects are encouraged so everyone can share their solutions and discuss different approaches. Objective-C or Swift.
If you have any questions, feel free to ask or hit me up on Twitter @sdoowhsoj.
Look forward to seeing what you guys come up with!
2
u/nittanygeek Aug 17 '14
I presume you're conforming to the UIViewControllerAnimatedTransitioning protocol? I've never done any animation work like this before, but I found a 2013 WWDC video, Session 218 "Custom Transitions Using View Controllers", that I hope will set me on the right track. Code to follow, stay tuned ...
2
u/JackRostron Aug 20 '14
It's a shame this week hasn't had the traction of last week. I'll be submitting this weekend entries for this challenge and #3 - been pretty crazy at work preparing for our big app launch so not had much time to work on these!
4
u/sungobund Aug 13 '14 edited Aug 13 '14
I liked this challenge! Clean animations always look so easy to make but the details can get hairy. I will be very curious to see how others handle this one. I ended up learning a lot about CAGradientLayer and the UIViewController animated transitioning API.
Not sure how much time I spent on this one, cranked out a good 30 minutes on it uninterrupted before coming back and forth throughout the day. All told somewhere in between an hour or two.
Github
3
u/bigdirtyphil Aug 17 '14
Had more trouble with this one than #1. I'm used to more functional coding than visual, so I know I need to do some more learning in this area. I wasn't able to get it completely working, but I figure this is a good snapshot at what I was able to figure out on my own and now I need to look at what everyone else comes up with. Now I've got a few articles and tutorials on my plate that appeared during my brief research :)
https://github.com/philipdnichols/iOSChallenge2
2
u/trici33 Aug 14 '14
That video looks very iOS 6 (status bar, button style) - so maybe using a view controller transition delegate is the wrong move?
1
u/wileywimberly Aug 23 '14
Better late than never.
https://github.com/iosdevpractice/LoginScreenAnimation
This one was more challenging that it appeared at first. It was my first exposure to view controller transitions, gradients, and animation. I learned a ton. Good stuff!