How to add iOS 7 Icons in Xcode 4.6.3

Even though Xcode 5 available, I’d still like to use Xcode 4.6.3 at times to submit updates of my “legacy” apps. Xcode 5 ruins certain aspects of my design, plus I’d like to keep the iOS 6 look for now. Xcode 5 uses Asset Catalogues to keep track of images, and there’s seemingly no way […]

How to fix “No unexpired provisioning profiles found that contain any of the keychain’s signing certificates” in Xcode 4

I understand there can be many reasons for this error message. Xcode needs a distribution profile with the same Bundle Identifier as the app. Even though this seemed to have worked in the past, Xcode 4.6.3 has gotten more pernickety as of late. Let’s fix this. Provisioning Portal Head over to the Apple Provisioning Portal […]

How to check which iOS version your device is running

We can check the UIDevice’s property systemVersion for this. Here’s a quick snippet that checks this, and conveniently checks the first number in the returned value. This should work until iOS 9… NSArray *versionArray = [[[UIDevice currentDevice] systemVersion] componentsSeparatedByString:@”.”]; if ([[versionArray objectAtIndex:0] intValue] >= 7) { // do this if we’re runnign iOS 7 or […]

How to fix “Dynamically-related files could not be resolved” message in Dreamweaver

Adobe_Dreamweaver_CS6_IconWordPress is made up of over 70 files which may be called to display your site. Dreamweaver has a handy feature with which it lets you discover all those files.

Sometimes this works great – and sometimes you get the error message above. I was stumped by this when a site I was working on seemingly threw Dreamweaver overnight. Was was going on?

The secret is Permalinks.

Dreamweaver has a problem discovering and resolving related files if you’ve set Permalinks to anything other than the default. This problem has been around for a while, ever since the introduction of this feature in fact.

Read more

How to remove a widget from the WordPress Dashboard permanently

widget-be-goneIf you want to never see a widget on your WordPress Dashboard ever again, just head over to the top where it says “Screen Option”, then simply un-tick the ones you don’t like.

That’s Zen Therapy right there. These preferences are saved on a per-user basis.

But what if you don’t want certain widgets to show up, because your client gets confused by all the dashboard clutter? I know I do!

Help is at hand: you can use a couple of neat functions in your theme (or plugin) so certain widgets never even show up. Let’s see how this works.

Read more

How to define Javascript Behaviours in Dreamweaver

Adobe_Dreamweaver_CS6_IconDreamweaver keeps on giving – and the more I’m looking into it, the more I like how it can support me. Today I discovered that you can define Javascript Behaviours without writing a single line of code.

This can only be good news – especially if Javascript is one of those things that always looks a bit scary.

Here’s how to make Dreamweaver create code that can hide an element, and bring it back.

Read more