Uncategorized
How to Create a Flappy Bird Clone with SpriteKit in 20 Minutes
First, create a project in XCode. We’ll call it “Floaty Avian.” Next, bring in the SpriteKit and… WHY ARE YOU READING THIS? WHAT IS WRONG WITH YOU?? THERE’S A MILLION GREAT GAMES ON THE APP STORE, AND YOU’RE **STILL** HUNG UP ON THIS ONE? IT’S GONE. YOU’RE AN IPHONE DEVELOPER! I CAN’T BELIEVE YOU CLICKED […]
How to Memorize Block Syntax
Since block syntax came out alongside iOS 4, I’ve struggled to memorize it. Sure, blocks without return types or parameters = ^{ return @”super easy to recall”;}, but once you factor in arguments and want to accept a block argument in a method, thingsBecome:(CGFloat (^)(NSInteger way, id more, CGRect complex))dontYaThink? It’s no wonder that Fucking […]
My Concise Introduction to CocoaPods
CocoaPods is now the industry standard for managing third-party frameworks and dependencies for iOS. There’s such a demand to make libraries work with CocoaPods that, even in its very early days, I actually received 5 requests to add a Podfile and tag before I even knew what CocoaPods was! Nowadays, I love it, and I’d […]
Skinning the UIPopoverController
The UIPopoverController was introduced in iOS 3.2 as part of the initial iPad release. An exclusive to the iPhone’s big brother, it’s seen a lot of action. Needless to say, if you’re reading this tutorial, you’ve probably already used the UIPopoverController dozens of times! But, have you ever needed to change its appearance? In this […]
How to Link to your App in the App Store (WHY WAS THIS SO HARD?!)
This is, historically, one of my favorite iOS topics because of the ridiculous number of solutions to it: What if I haven’t published the app before? What if I don’t want it to go to iTunes?! Can I link without redirects?? So here’s the final solution for every conceivable situation, only very recently solved by […]