On OSX and need to test your site in the iOS Simulator? Well if you’re a shell junkie like me then you’ll appreciate these handy shortcuts…

alias iphone=""/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/MacOS/iPhone Simulator -SimulateDevice 'iPhone'""

And for iPad…

alias ipad=""/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/MacOS/iPhone Simulator -SimulateDevice 'iPad'""

You can of course tweak the device string for other types.