Example: An iOS Objective-C Port Of Google’s Ingress Game
You’ve probably heard about Google’s Niantic Labs Ingress game for Android that has developed a cult following with it’s location based alternate reality gameplay.
If you haven’t heard of Ingress it’s a game that encourages exploring landmarks around your location with a Cyberpunk theme.
Here’s Google’s Ingress trailer for those unfamiliar with the game:
Here’s an open source port from Alex Studnicka for iOS.
Source Code Example Demonstrating How To Create A Rotating Image Wheel Using UICollectionView
Previously I mentioned an excellent tutorial on how to create custom UICollectionView layouts.
Here’s a source code example from Kenny Tan demonstrating how to create another great looking custom UICollectionViewFlowLayout.
This custom UICollectionView layout provides a rotating image wheel – animating roulette wheel like as seen in The Yahoo TimeTraveler app.
Here’s a screenshot from the readme showing the custom layout in action:
And a video demonstrating the wheel in action.
Source Code Examples Covering AVFoundation Video Basics And How To Create A Video Editor
I’ve mentioned AVFoundation previously, the Cocoa framework for working with audio and video before and pointed out this great library that makes it very easy to record video that utilizes AVFoundation.
AVFoundation can be difficult to work with, and recently Bob McCune submitted a couple of great examples showing how to use AVFoundation.
There are two projects – one covering the basics of using AVFoundation demonstrating how to capture, playback and compose video, and another example project showing how to put it all together to create a video editing application.
Example: Getting A Header Search Bar That Sticks Atop A Scrolling UITableView (Like Contacts)
Getting the search bar to operate desired with atop a scrolling table view can be tricky and Fabian Kreisser has created an example demonstrating how to implement the three different scrolling behaviors in this situation.
The example demonstrates how to get the scrolling behavior to mimic that found in different Apple apps including how to get the search bar to stay below the header when scrolling down like in the Contacts app.
Example: Using UICollectionViewFlowLayout To Easily Create Great Looking Scrollable Grid Layouts
I’ve mentioned UICollectionView a number of times most recently in this excellent in-depth tutorial on creating custom UICollectionView layouts.
Here’s an example showing how to use the UICollectionView layout object to quickly create a grid style view with content that flows nicely based on a user’s scrolling.
The example populates the UICollectionView with images, and you can see how easy it is to make a great looking view that automatically adjusts for different orientations complete with animations.
