Category Archives: Tips

Improve Compressed Bluetooth Audio on Mac

If you’re exper­i­en­cing com­pressed audio when con­nect­ing to a bluetooth head­set on your Mac, you can change a set­ting to improve the qual­ity: Option (alt) click the bluetooth icon in the menu bar and select Open Bluetooth Explorer. When Bluetooth Explorer opens, select Utilities then Special Options from the menu bar. Finally increase the min­imum bit­pool to around […]

Xcode — ‘Could Not Read From Device’ iPhone Error

Xcode wasn’t send­ing builds to my iPhone, fail­ing with the error ‘Could not read from device’. Turning the iPhone on and off didn’t work, and the same error was appear­ing on a dif­fer­ent Mac so I knew it was a prob­lem with the device. To fix it try: Synchronise your iPhone in iTunes. Delete the app you’re try­ing to […]

Javascript — Is an Object Empty?

To check if an object is empty in Javascript:   Object.getOwnPropertyNames(obj).length === 0;   Where obj is the object you’re test­ing e.g.:   var obj = {}; Object.getOwnPropertyNames(obj).length === 0; //true   obj = {‘not’ : ‘empty’}; Object.getOwnPropertyNames(obj).length === 0; //false   Or to wrap it in a func­tion:   func­tion isEmpty(obj){ return (Object.getOwnPropertyNames(obj).length === 0); } […]

Subscribe to UK Holidays in iCal / iPhone / iPad

UK Holiday’s provided by Apple that you can sub­scribe to in iCal — webcal://ical.mac.com/ical/UK32Holidays.ics Been using this ever since I’ve had my Mac and it’s very use­ful. Works on iPhone and iPad as well.

Xcode iPhone / iPad Apps Screenshot Location

If you’re try­ing to find your iOS app screen­shots you’ve snapped in Xcode dur­ing your app devel­op­ment they’re loc­ated here: ~/Library/Application Support/Developer/Shared/Xcode/Screenshots Enjoy all your lovely iPad and iPhone app sn-apps..

WP Super Cache Not Working After Server Move

I moved the server I host this site on recently, and it got notice­ably slower (des­pite bet­ter hard­ware), it turned out my cach­ing plu­gin (WP Super Cache) had stopped work­ing, which caused a double per­form­ance hit (no cach­ing & the fail­ing script). My site used to be stored in /home2 but now it’s in /home , but […]

Phonegap Crash on iPad iOS 4.2

If you’re get­ting an EXC_CRASH (SIGABRT) error when run­ning your PhoneGap app on iOS 4.2 (iPad only) remove the fol­low­ing line from your Info.plist file: Main nib file base name (iPad) Found via: #76 iOS 4.2 Crash on Launch on iPad — iPhone — phonegap

Force iPhone MobileMe to Update

If you use MobileMe to sync and you’ve updated a con­tact on your Mac, but it’s not show­ing up on your iPhone try: Settings > Mail, Contacts, Calendars > Fetch New Data > Toggle Push off / on To force an update on your iPhone address book!