There are a number of solutions created to make working with UIAutomation easier and Previously I mentioned Bwoken that allows you to write your automation tests using Coffeescript.
Here’s another UIAutomation driver called Appium that is described as “Selenium For Apps”.
Here are the key advantages of Appium as stated in the readme:
1. Appium uses Apple’s UIAutomation library under the hood to perform the automation, which means you do not have to recompile your app or modify in any way to be able to test automate it.
You can find Appium on Github here.
Assert Selenium has posted a getting started with Appium guide on their site here.