Wpguru - wpguru.co.uk - The WP Guru

Latest News:

How to fix permission problems when restoring folders from Time Machine Backups 11 Aug 2013 | 08:40 am

I had an odd problem the other day: I wanted to restore a fairly large folder from my new AirPort TimeCapsule. But the restore always stopped at one particular file, with an error message about permis...

How to use yum-complete-transaction 28 Jul 2013 | 03:13 am

Every once in a while it can happen happen that use use “yum update” to update your Linux system. Usually this works without a hitch, but you may have come across a message such as this: Setting up ...

How to mount additional disk space in 1&1′s Cloud Server 3 Jul 2013 | 07:45 pm

I’ve just ordered a new Dynamic Cloud Server with 1&1 with a total of 800GB disk space. They rock, but they come with a minor inconvenience: due to the way these server instances are allocated, 1&1 do...

How to use Targets in Xcode 29 Jun 2013 | 07:50 pm

Targets are an extremely yet totally undocumented feature of Xcode. They allow you to write code once, and then build multiple “versions” of the same code base. This makes maintenance and code updates...

How to define Preprocessor Macros in Xcode 29 Jun 2013 | 07:13 pm

I’ve often wondered how to use those efficiently, and I’ve just found out how to do it. As always, they’re not difficult to implement – but not documented in a way that simple folk like me can underst...

How to check if your app is running on an iPad or an iPhone 29 Jun 2013 | 07:14 am

Here’s how we check that: Alternatively you can check the same method for UIUserInterfaceIdiomPhone instead, which is returned when you’re on an iPhone or iPod touch.

How to hide navigation elements with swishy animations 29 Jun 2013 | 06:46 am

You can hide (and show) navigation bars and toolbars from your UINavigationController with extremely funky animations, much like we see in the Photos app on iOS. In the app, when you single-tap the sc...

Managed Object Context arrives empty when passed via a segue in iOS 5 26 Jun 2013 | 02:05 am

I’ve just found that passing an NSManagedObjectContext object via a segue in iOS 5 doesn’t work: the property remains empty. In iOS 6 on the other hand this isn’t a problem: the context arrives just ...

How to find out what class an NSObject belongs to 23 Jun 2013 | 05:32 pm

Sometimes you find yourself having a reference to an object (say a View Controller), but you don’t know what class it belongs to. Thankfully there’s a method for this which will work with any NSObject...

How to define a method that takes multiple parameters 17 Jun 2013 | 11:25 pm

I keep forgetting how to do this… don’t ask me why, it’s not that difficult! So here’s how we define one: - (void)methodName:(NSString *)parameterOne methodNameContinues:(NSString *)parameterTwo; Add ...

Recently parsed news:

Recent searches: