TEQuickPageViewController v2: Even Simpler Paging

A couple of weeks ago, I put together a CocoaPod to make creating paged views in iOS easier. I knew there was a bit of some for improvement, so I did some research and today I pushed version 2.0.0 of TEQuickPageViewController, which makes storyboarding your pages even quicker!

Using segues to set up your pages.

Having discovered the wonder that is the custom segue, I realised I could use custom segues that didn’t actually perform a segue to construct a sequence of view controllers that could be reported back to the Page View Controller.

This means that you can now see your sequence of pages at a glance in your Storyboard. Zero code, zero confusion.

[TEQuickPageViewController v2 on GitHub]

Simpler paging in iOS

Yesterday, I started wrestling with the concept of Page View Controllers in iOS. These are the swipeable sets of screens you’ve probably seen holding tutorials and “what the heck is this?” explanations for all those weird and trendy apps floating around. Frankly, I found it to be a massive pain in the butt, so I knocked together a little project to make things simpler.

Setting up your pages in Storyboard. No, this is nothing to do with Windows. Or the game Simon.

Readmore »

IQKeyboardManager: My new favourite iOS library

I rarely get excited about code libraries, but IQKeyboardManager is probably the most useful and useable library I’ve ever had the pleasure of downloading. Useable in that it requires zero effort to use, no code, no configuration, no API keys. And useful because it solves a problem that has been bugging me since I first got my grubby mitts on the iOS SDK back in 2008.

Readmore »

Redis on Laravel: Why naming is a pain

Screen Shot 2014-10-30 at 22.44.50It’s Thursday night, and you’re looking to start using Redis in your Laravel application. You fire up your Homestead box (more on this in another post), open your favourite IDE and put in a new route to start playing around. Just something simple to start, write then read a value, just like the example.

You save, and load up the route in your browser, only to see:

Call to undefined method Redis::connection()

That can’t be right, can it? The Redis class is built-in to Laravel, and connection() was in the example. How can it be missing? Readmore »

Clone the Classics – Space Invaders with Swift and SpriteKit

Following on the heels of Asteroids with Sprite Kit, the introduction of the Swift language made me feel like another crack at the whip. So here’s my take on Space Invaders. This time, I went for OS X as a platform, again using SpriteKit, but this time using Swift as the primary language.

SpriteKit Space Invaders

Readmore »

Test your Twitter Vocabulary

TwitterTime for another quick project! This time, I’ve put together a vocabulary tester for Twitter. Just put in your twitter handle, and get an outline of your most used and longest words.

The app is implemented under Laravel, using the Twitter APIs to pull tweets for processing. To get around potential memory and time contraints on PHP scripts (and to provide feedback on progress), I used AngularJS for aggregation and rendering of results. Bootstrap and Font Awesome provided quick styling. Readmore »

Quick Project: Asteroids with SpriteKit

After an extremely long hiatus from my Shoot ‘Em Up project, I was itching to see what was new in the world of iOS game development. Discovering the new SpriteKit API, I just had to give it a try. So I put together a quick version of Asteroids over a few weekends.

SpriteKitAsteroids-1

It’s missing a couple of features (no hyperspace or flying saucers), but was a great way to get to grips with the new API. Not only that but I also got an excuse to play with Git’s submodules feature, which I’m sure I’ll be using a lot more in future.

You can see the full source on GitHub, feel free to download and build a copy!

2^n: A silly 2048 extension

Last week, I got hooked on 2048 after playing the Doctor Who Edition obsessively on my lunch break.

Unnecessarily excited with the powers-of-twoness of the game, I forked the code and let you play a slightly bigger version (or two).

2^n Screenshot

Readmore »

What a Difference a Frame Makes

This afternoon, I was walking past a construction site and did a double take. Part of me could swear I’d just walked past a mirror, but hadn’t seen myself in the reflection. After a brief moment of vampire-based self doubt, I stepped back a few paces and saw this:

Readmore »

Reviving an old habit, but a good one

I admit, I expected to get a little further with my blogging goal before missing a week, let alone two. Or three. I’ve kind of lost count. Suffice to say I’ve had a hard February so far. I won’t go into details, but I’m coming out of the other side feeling better than I have in a long while, and I’m eager to crack on with some self improvement. First stop, finally joining a gym in NYC.

Readmore »

Social Widgets powered by AB-WebLog.com.