Thanks for sharing wonderful idea.
I'm using your ELCUIApplication class in my application for logout functionality. I want to do/add some addition functionality in it. User should get alert while after timer end his timeout period. If your select YES option from alert view the idle timer should have reset if user select NO then app goes logout and idle time goes end.
have a look http://stackoverflow.com/questions/20088521/calling-method-from-principal-class-in-objective-c
please give me way of suggestion how to do this.